projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def0bfd
)
powerpc/xmon: Fix compile error in print_insn* functions
author
Sukadev Bhattiprolu
<sukadev@linux.vnet.ibm.com>
Thu, 23 Jan 2020 00:57:18 +0000
(18:57 -0600)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Sat, 25 Jan 2020 13:11:35 +0000
(
00:11
+1100)
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
arch/powerpc/xmon/dis-asm.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/xmon/dis-asm.h
b/arch/powerpc/xmon/dis-asm.h
index c4d246ebca37700fe8d560c39de6d47d6d477118..c4c982d6402e73ff62d4d64c33c6de47707b034e 100644
(file)
--- a/
arch/powerpc/xmon/dis-asm.h
+++ b/
arch/powerpc/xmon/dis-asm.h
@@
-13,13
+13,13
@@
extern int print_insn_spu(unsigned long insn, unsigned long memaddr);
#else
static inline int print_insn_powerpc(unsigned long insn, unsigned long memaddr)
{
- printf("%.8x", insn);
+ printf("%.8
l
x", insn);
return 0;
}
static inline int print_insn_spu(unsigned long insn, unsigned long memaddr)
{
- printf("%.8x", insn);
+ printf("%.8
l
x", insn);
return 0;
}
#endif