Commit f6f7dde3 authored by anton@samba.org's avatar anton@samba.org Committed by Paul Mackerras

[POWERPC] Use lowercase for hex printouts in oops messages.

Use lowercase for hex printouts in oops messages. The number of times I have
tried to copy and paste from an oops into an objdump search...
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Acked-by: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent ae7f4463
...@@ -402,11 +402,11 @@ static void printbits(unsigned long val, struct regbit *bits) ...@@ -402,11 +402,11 @@ static void printbits(unsigned long val, struct regbit *bits)
} }
#ifdef CONFIG_PPC64 #ifdef CONFIG_PPC64
#define REG "%016lX" #define REG "%016lx"
#define REGS_PER_LINE 4 #define REGS_PER_LINE 4
#define LAST_VOLATILE 13 #define LAST_VOLATILE 13
#else #else
#define REG "%08lX" #define REG "%08lx"
#define REGS_PER_LINE 8 #define REGS_PER_LINE 8
#define LAST_VOLATILE 12 #define LAST_VOLATILE 12
#endif #endif
...@@ -421,7 +421,7 @@ void show_regs(struct pt_regs * regs) ...@@ -421,7 +421,7 @@ void show_regs(struct pt_regs * regs)
regs, regs->trap, print_tainted(), init_utsname()->release); regs, regs->trap, print_tainted(), init_utsname()->release);
printk("MSR: "REG" ", regs->msr); printk("MSR: "REG" ", regs->msr);
printbits(regs->msr, msr_bits); printbits(regs->msr, msr_bits);
printk(" CR: %08lX XER: %08lX\n", regs->ccr, regs->xer); printk(" CR: %08lx XER: %08lx\n", regs->ccr, regs->xer);
trap = TRAP(regs); trap = TRAP(regs);
if (trap == 0x300 || trap == 0x600) if (trap == 0x300 || trap == 0x600)
printk("DAR: "REG", DSISR: "REG"\n", regs->dar, regs->dsisr); printk("DAR: "REG", DSISR: "REG"\n", regs->dar, regs->dsisr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment