diff options
Diffstat (limited to 'arch/x86/mm/fault_64.c')
-rw-r--r-- | arch/x86/mm/fault_64.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/x86/mm/fault_64.c b/arch/x86/mm/fault_64.c index 1897704dad46..e12c34ba4ba1 100644 --- a/arch/x86/mm/fault_64.c +++ b/arch/x86/mm/fault_64.c | |||
@@ -296,11 +296,14 @@ static int is_f00f_bug(struct pt_regs *regs, unsigned long address) | |||
296 | static void show_fault_oops(struct pt_regs *regs, unsigned long error_code, | 296 | static void show_fault_oops(struct pt_regs *regs, unsigned long error_code, |
297 | unsigned long address) | 297 | unsigned long address) |
298 | { | 298 | { |
299 | printk(KERN_ALERT "BUG: unable to handle kernel "); | ||
299 | if (address < PAGE_SIZE) | 300 | if (address < PAGE_SIZE) |
300 | printk(KERN_ALERT "Unable to handle kernel NULL pointer dereference"); | 301 | printk(KERN_CONT "NULL pointer dereference"); |
301 | else | 302 | else |
302 | printk(KERN_ALERT "Unable to handle kernel paging request"); | 303 | printk(KERN_CONT "paging request"); |
303 | printk(" at %016lx RIP: \n" KERN_ALERT, address); | 304 | printk(KERN_CONT " at %016lx\n", address); |
305 | |||
306 | printk(KERN_ALERT "IP:"); | ||
304 | printk_address(regs->ip, 1); | 307 | printk_address(regs->ip, 1); |
305 | dump_pagetable(address); | 308 | dump_pagetable(address); |
306 | } | 309 | } |