cpumask: Avoid cpumask_t in arch/x86/kernel/apic/nmi.c
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 3 Nov 2009 04:23:52 +0000 (14:53 +1030)
committerIngo Molnar <mingo@elte.hu>
Wed, 4 Nov 2009 12:17:53 +0000 (13:17 +0100)
commitce7c42710e2dd133f10b7fc9ed9c73bdd2435f7a
treecb3b278a642f95bc096514f1bb9da17041af9465
parenta489ca355efaf9efa4990b0f8f30ab650a206273
cpumask: Avoid cpumask_t in arch/x86/kernel/apic/nmi.c

Ingo wants the certainty of a static cpumask (rather than a
cpumask_var_t), but cpumask_t will some day be undefined to
avoid on-stack declarations.

This is what DECLARE_BITMAP/to_cpumask() is for.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
LKML-Reference: <200911031453.52394.rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/nmi.c