powerpc/xmon: Fix compile error in print_insn* functions
Fix couple of compile errors I stumbled upon with CONFIG_XMON=y and CONFIG_XMON_DISASSEMBLY=n Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200123010455.GA15080@us.ibm.com
This commit is contained in:
parent
def0bfdbd6
commit
493a55f1e7
@ -13,13 +13,13 @@ extern int print_insn_spu(unsigned long insn, unsigned long memaddr);
|
|||||||
#else
|
#else
|
||||||
static inline int print_insn_powerpc(unsigned long insn, unsigned long memaddr)
|
static inline int print_insn_powerpc(unsigned long insn, unsigned long memaddr)
|
||||||
{
|
{
|
||||||
printf("%.8x", insn);
|
printf("%.8lx", insn);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int print_insn_spu(unsigned long insn, unsigned long memaddr)
|
static inline int print_insn_spu(unsigned long insn, unsigned long memaddr)
|
||||||
{
|
{
|
||||||
printf("%.8x", insn);
|
printf("%.8lx", insn);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user