aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon/ppc-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/xmon/ppc-dis.c')
-rw-r--r--arch/powerpc/xmon/ppc-dis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/xmon/ppc-dis.c b/arch/powerpc/xmon/ppc-dis.c
index ac0a9d2427e0..3b67bee4830b 100644
--- a/arch/powerpc/xmon/ppc-dis.c
+++ b/arch/powerpc/xmon/ppc-dis.c
@@ -27,14 +27,14 @@ extern void print_address (unsigned long memaddr);
27/* Print a PowerPC or POWER instruction. */ 27/* Print a PowerPC or POWER instruction. */
28 28
29int 29int
30print_insn_powerpc (unsigned long insn, unsigned long memaddr, int dialect) 30print_insn_powerpc (unsigned long insn, unsigned long memaddr)
31{ 31{
32 const struct powerpc_opcode *opcode; 32 const struct powerpc_opcode *opcode;
33 const struct powerpc_opcode *opcode_end; 33 const struct powerpc_opcode *opcode_end;
34 unsigned long op; 34 unsigned long op;
35 int dialect;
35 36
36 if (dialect == 0) 37 dialect = PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_COMMON
37 dialect = PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_COMMON
38 | PPC_OPCODE_64 | PPC_OPCODE_POWER4 | PPC_OPCODE_ALTIVEC; 38 | PPC_OPCODE_64 | PPC_OPCODE_POWER4 | PPC_OPCODE_ALTIVEC;
39 39
40 /* Get the major opcode of the instruction. */ 40 /* Get the major opcode of the instruction. */