提交 9a135053 编写于 作者: A Andreas Färber 提交者: Alexander Graf

target-ppc: Drop nested TARGET_PPC64 guard for POWER7

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: NAndreas Färber <afaerber@suse.de>
Signed-off-by: NAlexander Graf <agraf@suse.de>
上级 5e95acc8
...@@ -6671,7 +6671,6 @@ static void init_proc_970MP (CPUPPCState *env) ...@@ -6671,7 +6671,6 @@ static void init_proc_970MP (CPUPPCState *env)
vscr_init(env, 0x00010000); vscr_init(env, 0x00010000);
} }
#if defined(TARGET_PPC64)
/* POWER7 */ /* POWER7 */
#define POWERPC_INSNS_POWER7 (PPC_INSNS_BASE | PPC_STRING | PPC_MFTB | \ #define POWERPC_INSNS_POWER7 (PPC_INSNS_BASE | PPC_STRING | PPC_MFTB | \
PPC_FLOAT | PPC_FLOAT_FSEL | PPC_FLOAT_FRES | \ PPC_FLOAT | PPC_FLOAT_FSEL | PPC_FLOAT_FRES | \
...@@ -6755,7 +6754,6 @@ static void init_proc_POWER7 (CPUPPCState *env) ...@@ -6755,7 +6754,6 @@ static void init_proc_POWER7 (CPUPPCState *env)
* value is the one used by 74xx processors. */ * value is the one used by 74xx processors. */
vscr_init(env, 0x00010000); vscr_init(env, 0x00010000);
} }
#endif /* TARGET_PPC64 */
/* PowerPC 620 */ /* PowerPC 620 */
#define POWERPC_INSNS_620 (PPC_INSNS_BASE | PPC_STRING | PPC_MFTB | \ #define POWERPC_INSNS_620 (PPC_INSNS_BASE | PPC_STRING | PPC_MFTB | \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册