From patchwork Tue Sep 14 00:14:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 510377 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp1042376jao; Mon, 13 Sep 2021 17:23:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTBjPgPCdogCxadTs3Tp1W0dOI7hOQo3gdLm2rirkqHlMskWnUk1xKedrCYJ7UeDFU/gEQ X-Received: by 2002:a5d:9e09:: with SMTP id h9mr11323469ioh.164.1631579002563; Mon, 13 Sep 2021 17:23:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631579002; cv=none; d=google.com; s=arc-20160816; b=ngsDSQ+def+umpoBJBXgJyc83Kt+XqliyOvDKczoBOF4HVAtuBpGamY8arxqI4p0gG u3L8dVWjQSbuNk0+yLLDz7kCjGeB+NgtbJc2qw/z3cf2DMb73iaPEXAbRN/sxF2hfTcr lXknlt5RKS+xjuoXnw674FYIeYMn0v3vWrR0+kKgjJ3YF2uMkwK4NGUrRx43Q3QRlOY2 GcGDZt+uH3mvfpS0Nxt50SxzsLN8SdH/TgH4nfFrtRAzigv9cQxc0L/7f21Ebn+NtOFR 47G7AP25eNexvg1+0MHbE4Id7RSYl9/qQ5+ubWoRxOk5v8laCirPlIICcQUiGWIccVAs ngDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=GQ13E27YAKs6tc4OBt00qJWWcTtOdmK391i+KqsNCqs=; b=IxiJmz2J5YQX8APtGdrc1oo6wYBr7Ch0TYfzZHPDiAJGPKG2HGPbvK3crySDL6r/kc T+UYd3lt2p9jn+wIw+hnokmfWDdwXNs3ZoR/SPrKz0onSSM4UUsVyrZ3jw7/QF9C8yNC Cvl9Cv8SlCefjOKIjwOJl3did8WBWyprP/UccLnaalkm/Hd7eXMMN3xnnBgg6xzs5SpH omcEUHaPaJsEZrBpmkd9xi3FUZUaKrx55cdmCK15XU+Tmur5ZR/4Bv3TJIk8rROmtFkK aSm+I7dd9PR8Z/Edq/WmH8Pi/bwzR7VAUhfn0WGaFzFp8XuBFP6IfIMJYHmnw48BCNhd DIag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NLUtmvSe; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id o7si2740672ilj.101.2021.09.13.17.23.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Sep 2021 17:23:22 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NLUtmvSe; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPwEM-0004wH-0F for patch@linaro.org; Mon, 13 Sep 2021 20:23:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPw6O-0001h8-Fe for qemu-devel@nongnu.org; Mon, 13 Sep 2021 20:15:08 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:35753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPw6M-0007dL-3P for qemu-devel@nongnu.org; Mon, 13 Sep 2021 20:15:08 -0400 Received: by mail-pj1-x102c.google.com with SMTP id f3-20020a17090a638300b00199097ddf1aso791168pjj.0 for ; Mon, 13 Sep 2021 17:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GQ13E27YAKs6tc4OBt00qJWWcTtOdmK391i+KqsNCqs=; b=NLUtmvSeAGSpms16/+OqvcDx5bCYAQThEkWhlYg/3YwkxJPGlHsaPiIapuhCbMki2g Yhzq4Z3pQzeSHs3wi6fgvX7MRUJ/n3r9dR9/ykesik9MD3HCuhfYoVjaDce46LhqPdaA /syZ8npkpxOIVwNlNgsbq3TbQ5hatBLXXUvXtOJjELwQQcxdEbx4iNxfuRO7INOMhSZp 3IfJ2cRT+0J5piZuui4JY8fnJBypVSmIn/klT3HF5ZME8DmYvqH95XXlWNLpGXMj9jgb S4SKG7S2wUBLAO9iX1qtRO4ZM0VNKUSK1eP4PRGFSvgMjkgESQw9uJ191W+sCGyx0Sg5 g1Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GQ13E27YAKs6tc4OBt00qJWWcTtOdmK391i+KqsNCqs=; b=bxXHfNib1tMECq3J0oxSxq1jAS4uh+0AsHU9LIu9QzI6i88qPhVZrlkAoHJClSamYD LMb+ODzOcMhYYHx1uQ0aLAl/obQqbZIlLeGfiq2Dn/UAruhMEEdZxNkYFIgleEKMxShN OhC/MVPWH64KnW8GF0eaVKwNmog1wSSKJmLneJLk3F0k6yFQ952CRzXWGfYsj+QMbHie PMq24Q80X2juLpNFmxUpSNQKQgjoV0FdBOym9JrX5PAmUyz25gcua9HvVfMgnls0X8gf AmHWwIGK8McWmUjNMkg0Q6dLO7/f68yCLI3/SuQHU5cXNbr8z5pQ+v/ukJEy3PUjMG+1 u+pA== X-Gm-Message-State: AOAM532fYYLVu5N51gKoBVwO4QbQgMwiLI9kJ/OHdTz+mUrg6V8lkPx8 7svIPO2bMtJaX8PqO2y2HAvquFs9ri7ASQ== X-Received: by 2002:a17:902:ea11:b0:13a:db38:cfcf with SMTP id s17-20020a170902ea1100b0013adb38cfcfmr12664046plg.3.1631578504832; Mon, 13 Sep 2021 17:15:04 -0700 (PDT) Received: from localhost.localdomain ([71.212.134.125]) by smtp.gmail.com with ESMTPSA id m7sm9334179pgn.32.2021.09.13.17.15.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 17:15:04 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 09/44] target/avr: Remove pointless use of CONFIG_USER_ONLY definition Date: Mon, 13 Sep 2021 17:14:21 -0700 Message-Id: <20210914001456.793490-10-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210914001456.793490-1-richard.henderson@linaro.org> References: <20210914001456.793490-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Warner Losh Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Commit f1c671f96cb ("target/avr: Introduce basic CPU class object") added to target/avr/cpu.h: #ifdef CONFIG_USER_ONLY #error "AVR 8-bit does not support user mode" #endif Remove the CONFIG_USER_ONLY definition introduced by mistake in commit 78271684719 ("cpu: tcg_ops: move to tcg-cpu-ops.h, keep a pointer in CPUClass"). Reported-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-By: Warner Losh Message-Id: <20210911165434.531552-2-f4bug@amsat.org> Signed-off-by: Richard Henderson --- target/avr/cpu.c | 3 --- 1 file changed, 3 deletions(-) -- 2.25.1 diff --git a/target/avr/cpu.c b/target/avr/cpu.c index ea14175ca5..5d70e34dd5 100644 --- a/target/avr/cpu.c +++ b/target/avr/cpu.c @@ -197,10 +197,7 @@ static const struct TCGCPUOps avr_tcg_ops = { .synchronize_from_tb = avr_cpu_synchronize_from_tb, .cpu_exec_interrupt = avr_cpu_exec_interrupt, .tlb_fill = avr_cpu_tlb_fill, - -#ifndef CONFIG_USER_ONLY .do_interrupt = avr_cpu_do_interrupt, -#endif /* !CONFIG_USER_ONLY */ }; static void avr_cpu_class_init(ObjectClass *oc, void *data)