Message ID | 20191216221158.29572-21-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4946419ile; Mon, 16 Dec 2019 14:31:41 -0800 (PST) X-Google-Smtp-Source: APXvYqyOp0PAVFuPDFsgfFS+5jiOYdzhs3roNnpCE5CRIDkCBFxDivwUE9bS/35/JiBgyUZCGMA7 X-Received: by 2002:a19:710a:: with SMTP id m10mr859822lfc.58.1576535501378; Mon, 16 Dec 2019 14:31:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576535501; cv=none; d=google.com; s=arc-20160816; b=bWvbL8x1tRqfIk8BB2GXE0n/e69aS+8N0VeK5VMDPCFAVe7p8TaKukXHVkwdKQcaHB 89ZxRstlO+yrnarmt6NJ9CVzcRUSlXVMD7MpGvHrjCocXvX8nUpaMOc/VCYXkvH4CfpE 1DU0bBOBjn0PgAyIz/B5Me47avfOlwovdypDSdfG4aEjWbVHuXttzfv0K1gDNHdBY/q0 25LUk2Y3G/BBsj76zdfYohu/v9cyzSrF7EcvGKUYJciJAQ5q/BRY4I5LuRV3M9BhlTVN 9Oi4NT73sFrnwf0LpQsBxkFq17+Dg4u99bHxE9l4Z31q5tnIzYpmGZ+OGxXSlRH4v5Fb JjRQ== 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=pZRCwuJZhFmLfLLVDEuLYlambcalO9LoW5IlxLfh4Nc=; b=EDya8kM0b3puGdql+gD52Lu758rvXRn6dsQ6Q0Ft2UXnlvvuE/K7dt2ZUjbUhU+Ntt vicrr5kIDGmk/xtc9b6xK/SwwVQEBj1PAZud5tkV+LFhZgpNN2rIINgPiS+qzafnWNU3 QM2WIc5aY+D7qzYzkqfPs4zyjZ+cr1fP/wRU0QEGzvbJzECdFNCeu83e5N1XhGT9ikeg esG1RZoXJS0RVzeoSeZvIZWoqI/13SA67JrruT939HY8jK6nAm4Ak8DvyHzIN1tpYkj0 0q89JVpkDPLCh6orHYWbejjFRb5v2HV+UgyxhDneGJmKNlPvSbtyEICtJYBHHjCk7YJS kkNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dglJnJmf; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k4si16488980ljk.256.2019.12.16.14.31.41 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Dec 2019 14:31:41 -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=dglJnJmf; 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]:32790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1igytv-0003kM-Vf for patch@linaro.org; Mon, 16 Dec 2019 17:31:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37008) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1igybS-0005SH-Oo for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1igybR-0007VJ-MI for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:34 -0500 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]:37907) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1igybR-0007Ub-HN for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:33 -0500 Received: by mail-pj1-x1041.google.com with SMTP id l4so3622780pjt.5 for <qemu-devel@nongnu.org>; Mon, 16 Dec 2019 14:12:33 -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=pZRCwuJZhFmLfLLVDEuLYlambcalO9LoW5IlxLfh4Nc=; b=dglJnJmfBxX3xB4BMXIsaIDRLpLVx+xKl1JYPDYU+yI9XHOFJKSU8dy4bZ9LJz4NQF GW881Gl75Obj6HGyFpGC2v+rjDdEGPza4pk3REfZAqM9zl4jn2L9yDUtvVUNlXlSGi7L qoGS5FvSZcIKiyWqpJBYcEfPOrE7WImTdWg8/+AWOD8BLk4HhuKmfu17m4+T6KhitpUN f/Dx5siaxIKeyu6XshKXgI76ZMbGj04g6is/H0dAffaVjN8QhoeHsITpXBwuQYTDvbZa eT6anJXYUOuxKLFUiyP5qLynfiRYUaEm7Fr7QTBi0aYcWK2jOnrWUZp1I2vEpD/nU0e/ ELVg== 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=pZRCwuJZhFmLfLLVDEuLYlambcalO9LoW5IlxLfh4Nc=; b=cLGWHrhqYuxXUw0ixoLb5L90gQQnrbKh+3y8rJTo4Tbr05crvmfaLIW47iePvXLiKg aAQBWLaIrfX7k80tbdT6zFn177dcB3A/Ruw0ExQovFzBx7aK1oUmSa3WKiWWG2YRuSwq Ci3eHx4KAxVdn7+n/0Cv5GkOjNCc6YdUzZAJfQr+eqIy5XlAhCI9ho6DDbq1tp+57UTM cADeu9B3Yb7NdJ0HbebQHHovDiDDCNekp6bcxBjSRwKKsXSpkfgEZAdR3E2YAZmkjRxL to0o/hxsgOJgkBTpklekPimKV4mW3n7/WJu6VAFcvPik7PXpPreyX7KTjYqo5aHFgpl5 LImw== X-Gm-Message-State: APjAAAUBebOyGYrMW2gCkBnG7gvKHNrW0NYvCYYlGbuNbumK7EjukOz+ YF2lWeaAM/WjaTK2wRnnNDNUaZpoIaw= X-Received: by 2002:a17:902:a616:: with SMTP id u22mr5998617plq.173.1576534352309; Mon, 16 Dec 2019 14:12:32 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2019 14:12:31 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v2 20/28] target/sh4: Remove MMU_MODE{0,1}_SUFFIX Date: Mon, 16 Dec 2019 12:11:50 -1000 Message-Id: <20191216221158.29572-21-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 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::1041 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Aurelien Jarno <aurelien@aurel32.net> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
cputlb: Remove support for MMU_MODE*_SUFFIX
|
expand
|
Richard Henderson <richard.henderson@linaro.org> writes: > The functions generated by these macros are unused. > > Cc: Aurelien Jarno <aurelien@aurel32.net> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> > --- > target/sh4/cpu.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/target/sh4/cpu.h b/target/sh4/cpu.h > index ecaa7a18a9..452a596e67 100644 > --- a/target/sh4/cpu.h > +++ b/target/sh4/cpu.h > @@ -254,8 +254,6 @@ void cpu_load_tlb(CPUSH4State * env); > #define cpu_list sh4_cpu_list > > /* MMU modes definitions */ > -#define MMU_MODE0_SUFFIX _kernel > -#define MMU_MODE1_SUFFIX _user > #define MMU_USER_IDX 1 > static inline int cpu_mmu_index (CPUSH4State *env, bool ifetch) > { -- Alex Bennée
diff --git a/target/sh4/cpu.h b/target/sh4/cpu.h index ecaa7a18a9..452a596e67 100644 --- a/target/sh4/cpu.h +++ b/target/sh4/cpu.h @@ -254,8 +254,6 @@ void cpu_load_tlb(CPUSH4State * env); #define cpu_list sh4_cpu_list /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _kernel -#define MMU_MODE1_SUFFIX _user #define MMU_USER_IDX 1 static inline int cpu_mmu_index (CPUSH4State *env, bool ifetch) {
The functions generated by these macros are unused. Cc: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/sh4/cpu.h | 2 -- 1 file changed, 2 deletions(-) -- 2.20.1