From patchwork Sat Dec 28 23:11:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 182525 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp4652720ild; Sat, 28 Dec 2019 15:30:05 -0800 (PST) X-Google-Smtp-Source: APXvYqznR9Q1Z4WRhnNHlRSfon7S1R9/PBSj4iQI3xSi6SlKEFy3G55nL5salQNLLq1r1JiJidb0 X-Received: by 2002:a05:6214:3e7:: with SMTP id cf7mr45252795qvb.129.1577575805761; Sat, 28 Dec 2019 15:30:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577575805; cv=none; d=google.com; s=arc-20160816; b=LEtmc1APnqnepFubBMINjrIMIiympiEvqqDt+GokzLAaEAUmZMPFR7VYCXSroUVCHC OFkBy07Zooc1FiXsnY2qfu0yae7TCu5NGB/Wct8qbxrP99LjCPJLlzz+LBc4Pxl4jrBf AX5zQZ+syvwekSlwxleT/hUBLkMgGqKweNqBbhLxvWXEbllrArDsfMOpi4nIygfIdkRa BlIt06L57u3Ud7zoAeweIGbuieq2i/QI5+FCDyMf6MniKeDMsjMo/2HbAUAzhcA2mcqJ XQ+u73fHR/IoY/fN9fndKs2zoDQ6WpURjv9mUqSnx+9zo/BqhWqkl8FDnVKFKX7ezsdG sFQQ== 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=s2sFyKQc0KML7nsHeLOyCy6ccvVe4EAb+zDftLMFs6Y=; b=WOUEIk6WOV9j22Azuj+gCMF6HShRYJxaF2PJ+VGU/Q/U63trLicJWM6w/lGXQaB6/x IAlUTZNe4Y9k1umu5Et6H3HGNJp5Z39pvalo0sGhKsS4szITFgtiBieEDrUJGaqY9k3p V6qa6ayjDHgP6jzl6LYVpfFDmQ6leMJQCPws52Q6Ppy2swMv8DOH/NhjSnvkIDcrO1ns jRzechYTkmjKkBVQG84ToxqeOruFLPbemeB6Ijbj5IzK+e7J4/lheH4cN49O8MJ6C4BO vdZghXAq7BP2SctllxvNV1CzomjtOrgWKq/1tWR2XEwA6LnL7HakYdz3QbIpFUici/il hO0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="qj/EJkKi"; 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 f3si16136714qka.362.2019.12.28.15.30.05 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Dec 2019 15:30:05 -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="qj/EJkKi"; 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]:47540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilLX3-0002uD-1U for patch@linaro.org; Sat, 28 Dec 2019 18:30:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41864) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilLG2-0005Rk-1Z for qemu-devel@nongnu.org; Sat, 28 Dec 2019 18:12:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilLG1-000857-15 for qemu-devel@nongnu.org; Sat, 28 Dec 2019 18:12:29 -0500 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:33414) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilLG0-00081V-Qn for qemu-devel@nongnu.org; Sat, 28 Dec 2019 18:12:28 -0500 Received: by mail-pl1-x642.google.com with SMTP id c13so13208314pls.0 for ; Sat, 28 Dec 2019 15:12:28 -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=s2sFyKQc0KML7nsHeLOyCy6ccvVe4EAb+zDftLMFs6Y=; b=qj/EJkKiwFRRFVX3hOK94ImapsNG7x25YrOTzK76uFNOAvHa4ViFzH9dB7ZkTepxK4 k5+WflrcteloMJFaoKYZ/SS+gbf9KWE4490L9q7gkYcZj360a2XUSwSRMA4dUOlvsgAK wFkAoFd+PCtgpAaG+NJ3El7M3yeBvUqa0mQMM6d0helHIWCCWGj6cBwJDBmAU1FQURtR LMivEHpOmles4WVULZJhmRh8+VHRRjeIapjEhbU6ICi+aTUjdeJDbljdhnPBs9/gmt0a zi0kFuB2ASfGQLOmm+lI4Qfg4wBjc4+j2vVV+xCXGT4m13Va6S4qSCL1b9pRsdMUmg3E Q8UA== 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=s2sFyKQc0KML7nsHeLOyCy6ccvVe4EAb+zDftLMFs6Y=; b=mZlqbQGo9Xj4e0IJQRemZ8YsgCcLqPC0CWKbio15ibW7Pmys+LQMTFAQLjUg/YuD9c F2VWiatoZ0i3QBWiI3bZkePMrK2Y7KArtpeRetT5+CfzRiGYHG4H8R7WbScVGxHbni8n Uk3KR+ccLJ4xl6Kzv5MVpAVXopx1Qx5XwwSWJVtqJ97DoNho+BjQFG2SDbvqdQhYtKhs KRXg6n8DSPuishpLDJVwAqSIQ/e53RH85Dw4dSFt+SbRRW4EEwXNDNwiAkDGxe+aga8Y 9+E6X2YXdbW4/DaFNmh9QM1JxHiRr0TCn/vjnouFF/PYIhdNYCVzBSM7KuLxF5/aDYHM PkVw== X-Gm-Message-State: APjAAAUkDXR0ms8fVNE28kgjD2ePOAMof31nb5mqgTr+8Jovz4+N4L9j Yj1YxxrX2onZdqOtgu8bwBmH8SQnJ6Y= X-Received: by 2002:a17:902:8481:: with SMTP id c1mr30749960plo.319.1577574747661; Sat, 28 Dec 2019 15:12:27 -0800 (PST) Received: from localhost.localdomain (194-223-58-9.tpgi.com.au. [194.223.58.9]) by smtp.gmail.com with ESMTPSA id c18sm21077186pfr.40.2019.12.28.15.12.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Dec 2019 15:12:27 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 19/29] target/i386: Remove MMU_MODE{0,1,2}_SUFFIX Date: Sun, 29 Dec 2019 10:11:14 +1100 Message-Id: <20191228231124.18307-20-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191228231124.18307-1-richard.henderson@linaro.org> References: <20191228231124.18307-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::642 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 , =?utf-8?q?Alex_Benn=C3=A9e?= , 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 Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- target/i386/cpu.h | 3 --- 1 file changed, 3 deletions(-) -- 2.20.1 diff --git a/target/i386/cpu.h b/target/i386/cpu.h index af282936a7..1b4b90556c 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -1952,9 +1952,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