diff options
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r-- | arch/powerpc/kernel/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 0df049215503..d7d7602e348f 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -402,11 +402,11 @@ static void printbits(unsigned long val, struct regbit *bits) | |||
402 | } | 402 | } |
403 | 403 | ||
404 | #ifdef CONFIG_PPC64 | 404 | #ifdef CONFIG_PPC64 |
405 | #define REG "%016lX" | 405 | #define REG "%016lx" |
406 | #define REGS_PER_LINE 4 | 406 | #define REGS_PER_LINE 4 |
407 | #define LAST_VOLATILE 13 | 407 | #define LAST_VOLATILE 13 |
408 | #else | 408 | #else |
409 | #define REG "%08lX" | 409 | #define REG "%08lx" |
410 | #define REGS_PER_LINE 8 | 410 | #define REGS_PER_LINE 8 |
411 | #define LAST_VOLATILE 12 | 411 | #define LAST_VOLATILE 12 |
412 | #endif | 412 | #endif |
@@ -421,7 +421,7 @@ void show_regs(struct pt_regs * regs) | |||
421 | regs, regs->trap, print_tainted(), init_utsname()->release); | 421 | regs, regs->trap, print_tainted(), init_utsname()->release); |
422 | printk("MSR: "REG" ", regs->msr); | 422 | printk("MSR: "REG" ", regs->msr); |
423 | printbits(regs->msr, msr_bits); | 423 | printbits(regs->msr, msr_bits); |
424 | printk(" CR: %08lX XER: %08lX\n", regs->ccr, regs->xer); | 424 | printk(" CR: %08lx XER: %08lx\n", regs->ccr, regs->xer); |
425 | trap = TRAP(regs); | 425 | trap = TRAP(regs); |
426 | if (trap == 0x300 || trap == 0x600) | 426 | if (trap == 0x300 || trap == 0x600) |
427 | printk("DAR: "REG", DSISR: "REG"\n", regs->dar, regs->dsisr); | 427 | printk("DAR: "REG", DSISR: "REG"\n", regs->dar, regs->dsisr); |