aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/dumpstack_64.c
diff options
context:
space:
mode:
authorAlexander van Heukelum <heukelum@fastmail.fm>2008-10-22 06:00:13 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-22 08:00:26 -0400
commite06ca430c3d0fddbd1c901ab3fb3e1f0bc8a786b (patch)
treefba7a100a5110448bd0e9ca460b805a7931b01e6 /arch/x86/kernel/dumpstack_64.c
parente4955cfd2f5c81eb708f55769aa60173f207fd63 (diff)
i386, dumpstack: use oops_begin/oops_end in die_nmi
Use oops_begin and oops_end in die_nmi. Whitespace-only changes on x86_64, to make it equal to i386's version. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/dumpstack_64.c')
-rw-r--r--arch/x86/kernel/dumpstack_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/dumpstack_64.c b/arch/x86/kernel/dumpstack_64.c
index dc6162bf7454..831e1e159cb4 100644
--- a/arch/x86/kernel/dumpstack_64.c
+++ b/arch/x86/kernel/dumpstack_64.c
@@ -519,7 +519,7 @@ void die(const char *str, struct pt_regs *regs, long err)
519 oops_end(flags, regs, sig); 519 oops_end(flags, regs, sig);
520} 520}
521 521
522notrace __kprobes void 522void notrace __kprobes
523die_nmi(char *str, struct pt_regs *regs, int do_panic) 523die_nmi(char *str, struct pt_regs *regs, int do_panic)
524{ 524{
525 unsigned long flags; 525 unsigned long flags;
@@ -527,11 +527,11 @@ die_nmi(char *str, struct pt_regs *regs, int do_panic)
527 if (notify_die(DIE_NMIWATCHDOG, str, regs, 0, 2, SIGINT) == NOTIFY_STOP) 527 if (notify_die(DIE_NMIWATCHDOG, str, regs, 0, 2, SIGINT) == NOTIFY_STOP)
528 return; 528 return;
529 529
530 flags = oops_begin();
531 /* 530 /*
532 * We are in trouble anyway, lets at least try 531 * We are in trouble anyway, lets at least try
533 * to get a message out. 532 * to get a message out.
534 */ 533 */
534 flags = oops_begin();
535 printk(KERN_EMERG "%s", str); 535 printk(KERN_EMERG "%s", str);
536 printk(" on CPU%d, ip %08lx, registers:\n", 536 printk(" on CPU%d, ip %08lx, registers:\n",
537 smp_processor_id(), regs->ip); 537 smp_processor_id(), regs->ip);