From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axcp1-00066I-5f for qemu-devel@nongnu.org; Tue, 03 May 2016 12:05:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axcod-0007c9-Sv for qemu-devel@nongnu.org; Tue, 03 May 2016 12:05:09 -0400 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:36686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axcod-0007WI-JA for qemu-devel@nongnu.org; Tue, 03 May 2016 12:04:51 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 3 May 2016 17:04:40 +0100 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Tue, 3 May 2016 18:03:23 +0200 Message-Id: <1462291414-8343-2-git-send-email-clg@kaod.org> In-Reply-To: <1462291414-8343-1-git-send-email-clg@kaod.org> References: <1462291414-8343-1-git-send-email-clg@kaod.org> Subject: [Qemu-devel] [PATCH 01/12] ppc: Remove MMU_MODEn_SUFFIX definitions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Benjamin Herrenschmidt , Cedric Le Goater From: Benjamin Herrenschmidt We don't use the resulting accessors and this gets in the way of the split I/D TLB work. Signed-off-by: Benjamin Herrenschmidt --- target-ppc/cpu.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 5282533b3858..4c0dc02e86d5 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -1303,9 +1303,6 @@ int ppc_dcr_write (ppc_dcr_t *dcr_env, int dcrn, uint32_t val); #define cpu_list ppc_cpu_list /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _user -#define MMU_MODE1_SUFFIX _kernel -#define MMU_MODE2_SUFFIX _hypv #define MMU_USER_IDX 0 static inline int cpu_mmu_index (CPUPPCState *env, bool ifetch) { -- 2.1.4