From patchwork Thu Dec 12 04:00:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 181421 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp391924ile; Wed, 11 Dec 2019 20:09:16 -0800 (PST) X-Google-Smtp-Source: APXvYqwiqQdR5d9eKeYH/6DCyCwZrxf1+QP05HQtv+t3IWa8GqDapvZ6TKD39xmk4WFqaj8VmROA X-Received: by 2002:a9d:6a7:: with SMTP id 36mr5535261otx.136.1576123756047; Wed, 11 Dec 2019 20:09:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576123756; cv=none; d=google.com; s=arc-20160816; b=vL/cWBxXnBzBo2704qc0Xy1jTtM3pgHXlqw3it7j+Uw41cRzPAIC0PWBhu1RSJZKCw 96zwQDhNVBeOkm4Ir7lQviX5EDl/7vIZRqQr7/dOvg38k6Qe+mi9yFaLXJ5sosQ36O4Q ZqFQF5foExlxtv/rGDvAMXLMT/6MwA2kNo6FTW2YUb+ikUh+tB8le7WkNSUEKNn+VjUj kKNXYY8Q6vmxaaB5y7XPFSy7DMXshdVPbHIRrk5ssdHcIdHesQSmyOK3gy66siq0jHP4 IoOgzZsoPIkybOwDhXB8DPOAg6Rob/fiZUJcsHMsFw8j5molYeq6UopqHPcXRU1b6gJe +cbw== 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=GvGCU+3iqgPT0dthIniMLE/ga9WOcGpwXeWfFW4ZBaM=; b=WRucThJR2Uinz4gLO7D4pw2FAIaP3vysQ+6ZX+9viLnecCQ9DVZJDk1a2457KUBivm C8OrKz9kS9kShuKEY8I1JwFL/tkET1uL8tWeoiYt0AdVGLUn6Yl4riwB8vewP/LTwJmd nvvE6IzBEvAPmjzJEsjESQrC5K3RSdRLUEodhk82VTAT7vpKtlkgnoG/KFqe056Ieko+ hLtrcu56OxbUPtWKbyG7rodEGFbbWt+FBRtiHeAAuuJoXp5/DSlR0fzHF4Acc0BXxE4X axQ7jKJTjb1XHxsULHjxj8jFTYnHSdchoAmJMUZTav5RD7nEJyNyn0mJHP9A45lCZHrj cOPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WJ6i1SZM; 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 w4si2611918otq.144.2019.12.11.20.09.16 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Dec 2019 20:09:16 -0800 (PST) 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=WJ6i1SZM; 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]:53992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifFmt-0002uZ-Cx for patch@linaro.org; Wed, 11 Dec 2019 23:09:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49613) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifFf1-0000yA-79 for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifFez-0004Ht-LQ for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:06 -0500 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]:38986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifFez-0004Fk-9G for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:05 -0500 Received: by mail-pj1-x1042.google.com with SMTP id v93so442978pjb.6 for ; Wed, 11 Dec 2019 20:01:04 -0800 (PST) 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=GvGCU+3iqgPT0dthIniMLE/ga9WOcGpwXeWfFW4ZBaM=; b=WJ6i1SZMXS2p9d2iApMMGqu9IoeDY9ndc0s6mFIUtRz8IYKOOvhF5ZBMVZ/fCpaT41 6m8UGtUfvyFe6lz3h2NZMhhywFZOYrOlgfoMcs5YId5koz80EMMh5jeatGXnU/n01eDz bYCjyXPHIV98wjJyvEfN9ap18zIUYfH0KUfTZAl17AxuVqSVRw8yLTFKX5tN+fDVfovi W2tcMyN1mLEZ7TT8ucmnpVOt4/Dd48VTjoJ3kARrjlPwLgyJTIgeMEPrXCwZBkFPSkCy 7SmodnNdPM9hpkfqxOpNoWciV5qFtSphvEEZCCnBBreJRvhgn4BP7WgE4+jR0s6Qj7TZ vw8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GvGCU+3iqgPT0dthIniMLE/ga9WOcGpwXeWfFW4ZBaM=; b=Xmn9wUaGjEhf4jOspDdVBckvTEECZJ9eCtWiSGY9NhVWp3c8FXdisQLpXRfNOVlm+c hp4aX0eCSGIiCKcI8ffkoGQMtwfC8/QRmebllITzO7zbho8HuXTVwRAuSsjX2h1HI5Ua crFCutnWhyeaUkwfjaYQ6PWU+TSC2uQIuYwJ/Te+KRrirT4jWNVrNT7FfIv7X6aYdivP rudRMA/bOEZBbfyQj7QsNOStGTAk3BwU92s9lKjkGFrepz4wVjnDVrQSIS/r94nxQOjJ eYOlhvZ6c/Hse4CWmKQcuhC6JR3JOoL/Mg3myu3PGOBCng43FdTVs3neeFLqytajAg0v IGrg== X-Gm-Message-State: APjAAAUdFJoMPBsBpxDWEK45TGCgVLinqwtpYlyHegugptSaoVISfyNQ 2JJlyCJQyJmcxsfJAOQmCYt0PzW65G8= X-Received: by 2002:a17:902:b095:: with SMTP id p21mr7149383plr.313.1576123263746; Wed, 11 Dec 2019 20:01:03 -0800 (PST) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id z130sm4666391pgz.6.2019.12.11.20.01.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 20:01:03 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 18/28] target/i386: Remove MMU_MODE{0,1,2}_SUFFIX Date: Wed, 11 Dec 2019 20:00:29 -0800 Message-Id: <20191212040039.26546-19-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191212040039.26546-1-richard.henderson@linaro.org> References: <20191212040039.26546-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::1042 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: Paolo Bonzini , Eduardo Habkost Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The functions generated by these macros are unused. Cc: Paolo Bonzini Cc: Eduardo Habkost Signed-off-by: Richard Henderson --- target/i386/cpu.h | 3 --- 1 file changed, 3 deletions(-) -- 2.20.1 Acked-by: Paolo Bonzini diff --git a/target/i386/cpu.h b/target/i386/cpu.h index cde2a16b94..6a8228df4f 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -1949,9 +1949,6 @@ uint64_t cpu_get_tsc(CPUX86State *env); #define cpu_list x86_cpu_list /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _ksmap -#define MMU_MODE1_SUFFIX _user -#define MMU_MODE2_SUFFIX _knosmap /* SMAP disabled or CPL<3 && AC=1 */ #define MMU_KSMAP_IDX 0 #define MMU_USER_IDX 1 #define MMU_KNOSMAP_IDX 2