cpumask: x86: Introduce cpumask_of_{node,pcibus} to replace {node,pcibus}_to_cpumask
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 26 Dec 2008 11:53:38 +0000 (21:53 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 26 Dec 2008 11:53:38 +0000 (21:53 +1030)
commit393d68fb9929817cde7ab31c82d66fcb28ad35fc
tree8174698205c9a5ff8f063d0bc0f5a6b80d3b1a5f
parentd62720ade82c5e5b8f9585e5ed02c89573ebf111
cpumask: x86: 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.

Also makes __pcibus_to_node take a const pointer.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/pci.h
arch/x86/include/asm/topology.h
arch/x86/kernel/setup_percpu.c