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 | 030bb203e01db12e3f2866799f4f03a114d06349 (patch) | |
tree | 38bfa99e9fa31aae3679964886d802d69108d0d7 /arch/x86/include/asm/topology.h | |
parent | 2258a5bb1064351b552aceaff29393967d694fa3 (diff) | |
download | linux-030bb203e01db12e3f2866799f4f03a114d06349.tar.gz linux-030bb203e01db12e3f2866799f4f03a114d06349.tar.bz2 linux-030bb203e01db12e3f2866799f4f03a114d06349.zip |
cpumask: cpu_coregroup_mask(): x86
Impact: New API
Like cpu_coregroup_map, but returns a (const) pointer.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Ingo Molnar <mingo@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/topology.h')
-rw-r--r-- | arch/x86/include/asm/topology.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index 45da5dc50fc8..168203c0c316 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h @@ -231,6 +231,7 @@ static inline int node_to_first_cpu(int node) #endif extern cpumask_t cpu_coregroup_map(int cpu); +extern const struct cpumask *cpu_coregroup_mask(int cpu); #ifdef ENABLE_TOPO_DEFINES #define topology_physical_package_id(cpu) (cpu_data(cpu).phys_proc_id) |