cpumask: convert arch/x86/kernel/nmi.c's backtrace_mask to a cpumask_var_t
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Mar 2009 04:19:49 +0000 (14:49 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Mar 2009 04:19:49 +0000 (14:49 +1030)
commitfcef8576d8a64fc603e719c97d423f9f6d4e0e8b
tree08d33a5f3cba8ef8dad81dd261aba97212eb3f8a
parentbc9b83dd1f66402b870301c3c7117b9c1484abb4
cpumask: convert arch/x86/kernel/nmi.c's backtrace_mask to a cpumask_var_t

Impact: cleanup, reduce memory usage for CONFIG_CPUMASK_OFFSTACK=y

I *think* every path calls check_nmi_watchdog before using the
watchdog, so that's the right place for the initialization.

If that's wrong, we'll get a nice NULL-deref with
CONFIG_CPUMASK_OFFSTACK=y, and have uncovered another bug.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/x86/kernel/apic/nmi.c