x86: avoid theoretical spurious NMI backtraces with CONFIG_CPUMASK_OFFSTACK=y
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 21 Apr 2009 06:33:41 +0000 (16:03 +0930)
committerIngo Molnar <mingo@elte.hu>
Tue, 21 Apr 2009 08:09:50 +0000 (10:09 +0200)
commitfcc5c4a2feea3886dc058498b28508b2731720d5
tree10aa7e61b47ab242c25f52714640b324f69520ff
parent2f537a9f8e82f55c241b002c8cfbf34303b45ada
x86: avoid theoretical spurious NMI backtraces with CONFIG_CPUMASK_OFFSTACK=y

In theory (though not shown in practice) alloc_cpumask_var() doesn't zero
memory, so CPUs might print an "NMI backtrace for cpu %d" once on boot.

(Bug introduced in fcef8576d8a64fc603e719c97d423f9f6d4e0e8b).

[ Impact: avoid theoretical syslog noise in rare configs ]

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <alpine.DEB.2.00.0904202113520.10097@gandalf.stny.rr.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/nmi.c