cpumask: Introduce topology_core_cpumask()/topology_thread_cpumask(): powerpc
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:21 +0000 (10:12 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:21 +0000 (10:12 +1030)
commit9150641dd17fe9e213ab3391c8ebfc228daa2d9d
tree34a7679283bde03191ecd0252b84885dbecca9a4
parent2bb23a63f22f0e2d91fee93ff5ca9c29e180b146
cpumask: Introduce topology_core_cpumask()/topology_thread_cpumask(): powerpc

Impact: New API

The old topology_core_siblings() and topology_thread_siblings() return
a cpumask_t; these new ones return a (const) struct cpumask *.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
arch/powerpc/include/asm/topology.h