diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-26 22:23:41 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-26 22:23:41 +1030 |
commit | 2258a5bb1064351b552aceaff29393967d694fa3 (patch) | |
tree | ddfe5c19232e0dd73963360089cb7dc6c3ea4f53 /arch/alpha/kernel/setup.c | |
parent | b4a2f916a8326065816a0743dd1b0ca2ffd18f5f (diff) | |
download | lwn-2258a5bb1064351b552aceaff29393967d694fa3.tar.gz lwn-2258a5bb1064351b552aceaff29393967d694fa3.zip |
cpumask: alpha: Introduce cpumask_of_{node,pcibus} to replace {node,pcibus}_to_cpumask
Impact: New APIs
The old node_to_cpumask/node_to_pcibus returned a cpumask_t: these
return a pointer to a struct cpumask. Part of removing cpumasks from
the stack.
I'm not sure the existing code even compiles, but new version is
straightforward.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'arch/alpha/kernel/setup.c')
-rw-r--r-- | arch/alpha/kernel/setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/alpha/kernel/setup.c b/arch/alpha/kernel/setup.c index a449e999027c..02bee6983ce2 100644 --- a/arch/alpha/kernel/setup.c +++ b/arch/alpha/kernel/setup.c @@ -79,6 +79,11 @@ int alpha_l3_cacheshape; unsigned long alpha_verbose_mcheck = CONFIG_VERBOSE_MCHECK_ON; #endif +#ifdef CONFIG_NUMA +struct cpumask node_to_cpumask_map[MAX_NUMNODES] __read_mostly; +EXPORT_SYMBOL(node_to_cpumask_map); +#endif + /* Which processor we booted from. */ int boot_cpuid; |