Commit c5ef8de3 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: arch/ppc64/kernel/traps.c warning fixes

Fix a printk warning
parent 83599e3c
...@@ -346,10 +346,11 @@ ProgramCheckException(struct pt_regs *regs) ...@@ -346,10 +346,11 @@ ProgramCheckException(struct pt_regs *regs)
} }
} }
void void
KernelFPUnavailableException(struct pt_regs *regs) KernelFPUnavailableException(struct pt_regs *regs)
{ {
printk("Illegal floating point used in kernel (task=0x%016lx, pc=0x%016lx, trap=0x%08x)\n", printk("Illegal floating point used in kernel "
"(task=0x%p, pc=0x%016lx, trap=0x%08lx)\n",
current, regs->nip, regs->trap); current, regs->nip, regs->trap);
panic("Unrecoverable FP Unavailable Exception in Kernel"); panic("Unrecoverable FP Unavailable Exception in Kernel");
} }
......
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