[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH ppc-next v2 03/52] target-ppc: Drop nested TARGET_PPC6
From: |
Andreas Färber |
Subject: |
[Qemu-ppc] [PATCH ppc-next v2 03/52] target-ppc: Drop nested TARGET_PPC64 guard for POWER7 |
Date: |
Mon, 18 Feb 2013 10:16:02 +0100 |
It is within a large TARGET_PPC64 section from 970 to 620,
so an #endif /* TARGET_PPC64 */ is confusing. Clean this up.
Signed-off-by: Andreas Färber <address@hidden>
---
target-ppc/translate_init.c | 2 --
1 Datei geändert, 2 Zeilen entfernt(-)
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index c28f573..298167c 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -6671,7 +6671,6 @@ static void init_proc_970MP (CPUPPCState *env)
vscr_init(env, 0x00010000);
}
-#if defined(TARGET_PPC64)
/* POWER7 */
#define POWERPC_INSNS_POWER7 (PPC_INSNS_BASE | PPC_STRING | PPC_MFTB |
\
PPC_FLOAT | PPC_FLOAT_FSEL | PPC_FLOAT_FRES | \
@@ -6755,7 +6754,6 @@ static void init_proc_POWER7 (CPUPPCState *env)
* value is the one used by 74xx processors. */
vscr_init(env, 0x00010000);
}
-#endif /* TARGET_PPC64 */
/* PowerPC 620 */
#define POWERPC_INSNS_620 (PPC_INSNS_BASE | PPC_STRING | PPC_MFTB | \
--
1.7.10.4
- [Qemu-ppc] [PATCH ppc-next v2 00/52] PowerPCCPU subclasses, remixed, Andreas Färber, 2013/02/18
- [Qemu-ppc] [PATCH ppc-next v2 01/52] target-ppc: Fix "G2leGP3" PVR, Andreas Färber, 2013/02/18
- [Qemu-ppc] [PATCH ppc-next v2 03/52] target-ppc: Drop nested TARGET_PPC64 guard for POWER7,
Andreas Färber <=
- [Qemu-ppc] [PATCH ppc-next v2 06/52] target-ppc: Make -cpu "ppc" an alias to "ppc32", Andreas Färber, 2013/02/18
- [Qemu-ppc] [PATCH ppc-next v2 02/52] target-ppc: Update error handling in ppc_cpu_realize(), Andreas Färber, 2013/02/18
- [Qemu-ppc] [PATCH ppc-next v2 08/52] target-ppc: Extract MGT823/MPC8xx as aliases, Andreas Färber, 2013/02/18
- [Qemu-ppc] [PATCH ppc-next v2 07/52] target-ppc: Extract MPC5xx aliases, Andreas Färber, 2013/02/18
- [Qemu-ppc] [PATCH ppc-next v2 10/52] target-ppc: Extract 440 aliases, Andreas Färber, 2013/02/18
- [Qemu-ppc] [PATCH ppc-next v2 11/52] target-ppc: Turn "ppc32" and "ppc64" CPUs into aliases, Andreas Färber, 2013/02/18
- [Qemu-ppc] [PATCH ppc-next v2 12/52] target-ppc: Extract 74x7[A] aliases, Andreas Färber, 2013/02/18
- [Qemu-ppc] [PATCH ppc-next v2 14/52] target-ppc: Extract 74x1 aliases, Andreas Färber, 2013/02/18
- [Qemu-ppc] [PATCH ppc-next v2 20/52] target-ppc: Extract 750 aliases, Andreas Färber, 2013/02/18
- [Qemu-ppc] [PATCH ppc-next v2 24/52] target-ppc: Extract 603r alias, Andreas Färber, 2013/02/18