From patchwork Mon Dec 16 22:11:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 181819 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4939640ile; Mon, 16 Dec 2019 14:25:14 -0800 (PST) X-Google-Smtp-Source: APXvYqzhNH2VXHvZfzuL0DTpDW/z+uJDBNUl+q3rgCcghncLNbEUTVZOvRMad3iN7lDmWcZ+wWxh X-Received: by 2002:aca:1103:: with SMTP id 3mr729934oir.171.1576535114311; Mon, 16 Dec 2019 14:25:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576535114; cv=none; d=google.com; s=arc-20160816; b=ZrpRvMYKYcwdfTzlQBZM+B1nwG39J2yriZ5OSMnd4iwFAI6QQsmXvyMbWHjwUGqHAI u/2CGa3fjDlvZbmge7CxlSwloJZPneRfnvw6ww7BCcCDdPVKWvhV5hloVZz1mtmub30n ed7F8ZZgAsS20/HFMWk+x6Da2Kb3uNjmAVGMIfkhzHIQKwflOIuHXlqL5wCA2tbe7WdC w6wAIICVIcErblExT+u/q4AgjFZRWu+jrcLPeeAvpYZ9neSfvyuK2Qv/4wAVFo2FoXTz fttPIkSDtuW/vAPNcpQbxVfQ3SOl9sk4QmLUyUZAikgAMd1VBUgp4Fm4cxtu/G/od2QY JE0Q== 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=HC2V75/4cEYrSuehSqGFKt4qZAQdtudJE9CcEzS2ZMc=; b=Aux8uLiTjlgLP0H94ltnZqhLlNVk2NXyiK1oPL3euuCD51cQ/A8DTjiYGZ6lIurpNa YIMh5Ct01RLolQG0VZj4d45X3YqwM7eIR2vnbu7NqGg025lzRVCfgPnNG47I+nRn1YTx dMnpVLLVdz3O/CK1pIW5eUOCZg3lZmc8k+UxXe69DPX+kxufL0MLwU/oAgkeLKKfjYTl oBGIfIPSmnZr7m+epE2+Cy7TQJRe2qTglhGq/oT7e5kn33tSEjzWEaYrQghQZjjZ/MvV hfIbWI7cQ9ZJHK77AnDIf7JOCNS4QLAsypE++mbiDNikBUwDfvgTDowu1dajKWpKjQd+ axKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=mlM2O6WB; 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=fail (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 m9si124870oie.148.2019.12.16.14.25.14 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Dec 2019 14:25:14 -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=fail header.i=@linaro.org header.s=google header.b=mlM2O6WB; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:60886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igynh-0004mJ-DR for patch@linaro.org; Mon, 16 Dec 2019 17:25:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36955) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igybP-0005MN-QI for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igybO-0007Pn-Op for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:31 -0500 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:39012) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igybO-0007OK-JQ for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:30 -0500 Received: by mail-pf1-x441.google.com with SMTP id 2so6376904pfx.6 for ; Mon, 16 Dec 2019 14:12:30 -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=HC2V75/4cEYrSuehSqGFKt4qZAQdtudJE9CcEzS2ZMc=; b=mlM2O6WBUH+LbGvC6aZ0uVh/Xx8YWLRuP5gAe9BB9BUTkMOoj/HWaVFP7S0ew09q1v Fz+UAJqQex/Cmt821SwQcJYd7sEfI18aGRO7oH9gcZ1XPaSyYS3dIdnmKWqc/+F5L2v2 CogC5wTLSGTvkAE+68INAkttFxM+pPVjca598vR9wQV3p0+LmrQ4VfxiLwrbtF5PTrJn kHR+7K4KTGzNstDxQURe/AlLKATZ5W6aQHWcT6Y+CiPg0ue2kiKQhOPTSJwF+9IiUvaY xhuO/DREwv4cBW4RUfki4A7aqKYVbeCq8yVxK1PVLXnVg3Ftg7aaxXBI75emE7Uzj6NP bRcA== 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=HC2V75/4cEYrSuehSqGFKt4qZAQdtudJE9CcEzS2ZMc=; b=uXfwZNVR1szCM+gCY+3/fUhvmao4WSDhzaZQobTeAZDSu7gadGKN1L96NNkyROfxKM EyPWkDIOwl1KsZoN5rVePJF8jXXEFmwGBju4geHSUyqKlJ1wn0CNU2JG65pb7shzY/Hb vJB0inXR8sP6Om85hARDoNY3gLMMZx80aPcQmFwFddIhSt6TvXCo2radKm27Sl9ypF4F cKCxATgHX//VNLLeEK0Na6/Df36HC1qnc2XUBurLqRD4bw40Wz6qHfppV09DCTLYo3Is kyfd3jRsX2r/AJoHHKtDkACxJv82ph1bJfsAuJ86oQhkRF736mAiVcPrvfW7OqPgc+ZT MjRg== X-Gm-Message-State: APjAAAUtMUFQlrL6jAFCbZ4vpU+/jTb/QrLunXcy+Q7XCC7rjH8maczO cCU+JOmoFu/odTO/DCxdM3Ss3/7G0nw= X-Received: by 2002:a63:4f59:: with SMTP id p25mr20870819pgl.230.1576534349416; Mon, 16 Dec 2019 14:12:29 -0800 (PST) Received: from localhost.localdomain ([2605:e000:c74f:dc00:6838:d2b2:17e2:8445]) by smtp.gmail.com with ESMTPSA id d6sm529767pjl.8.2019.12.16.14.12.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2019 14:12:28 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 18/28] target/i386: Remove MMU_MODE{0,1,2}_SUFFIX Date: Mon, 16 Dec 2019 12:11:48 -1000 Message-Id: <20191216221158.29572-19-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191216221158.29572-1-richard.henderson@linaro.org> References: <20191216221158.29572-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::441 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: Eduardo Habkost Acked-by: Paolo Bonzini Signed-off-by: Richard Henderson --- target/i386/cpu.h | 3 --- 1 file changed, 3 deletions(-) -- 2.20.1 Reviewed-by: Alex Bennée 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