aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/traps.c
diff options
context:
space:
mode:
authorDon Zickus <dzickus@redhat.com>2010-02-22 18:09:03 -0500
committerIngo Molnar <mingo@elte.hu>2010-02-25 06:40:50 -0500
commit47195d57636604ff6048b0d7aa3e4ed9643f6073 (patch)
tree32abacd2dee7af0542de211b727f9ecb4116f7fb /arch/x86/kernel/traps.c
parent2cc4452bc31fc1cde6f0b64a4eb13269f982787d (diff)
nmi_watchdog: Clean up various small details
Mostly copy/paste whitespace damage with a couple of nitpicks by the checkpatch script. Fix the struct definition as requested by Ingo too. Signed-off-by: Don Zickus <dzickus@redhat.com> Cc: peterz@infradead.org Cc: gorcunov@gmail.com Cc: aris@redhat.com LKML-Reference: <1266880143-24943-1-git-send-email-dzickus@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> -- arch/x86/kernel/apic/hw_nmi.c | 14 +++++------ arch/x86/kernel/traps.c | 6 ++-- include/linux/nmi.h | 2 - kernel/nmi_watchdog.c | 51 ++++++++++++++++++++---------------------- 4 files changed, 36 insertions(+), 37 deletions(-)
Diffstat (limited to 'arch/x86/kernel/traps.c')
-rw-r--r--arch/x86/kernel/traps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index 973cbc4f044f..bdc7fab3ef3e 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -402,9 +402,9 @@ static notrace __kprobes void default_do_nmi(struct pt_regs *regs)
402 return; 402 return;
403 403
404#ifdef CONFIG_X86_LOCAL_APIC 404#ifdef CONFIG_X86_LOCAL_APIC
405 if (notify_die(DIE_NMI, "nmi", regs, reason, 2, SIGINT) 405 if (notify_die(DIE_NMI, "nmi", regs, reason, 2, SIGINT)
406 == NOTIFY_STOP) 406 == NOTIFY_STOP)
407 return; 407 return;
408 408
409#ifndef CONFIG_NMI_WATCHDOG 409#ifndef CONFIG_NMI_WATCHDOG
410 /* 410 /*