From 2c885aed27fcf0cc7ea95bde6a05c835a0bb0001 Mon Sep 17 00:00:00 2001 From: Mike Travis Date: Tue, 16 Dec 2008 17:34:06 -0800 Subject: [PATCH] --- yaml --- r: 125367 b: refs/heads/master c: 83b19597f793fd5f91533bda0dc2eb3d21936798 h: refs/heads/master i: 125365: 5aa1196f6be5c849932db7759299c14d05f04524 125363: 5ecdc20ff7c41f2cef9fdf1d9e9c724270dc4740 125359: 9ac76883ed5d94215daf1aa0f1c3c604deadae70 v: v3 --- [refs] | 2 +- trunk/arch/x86/include/asm/topology.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 48377ed90da7..cc0e36811aa5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e4d98207ea3f3d15eb664282df16d18c4ac86f80 +refs/heads/master: 83b19597f793fd5f91533bda0dc2eb3d21936798 diff --git a/trunk/arch/x86/include/asm/topology.h b/trunk/arch/x86/include/asm/topology.h index ff386ff50ed7..79e31e9dcdda 100644 --- a/trunk/arch/x86/include/asm/topology.h +++ b/trunk/arch/x86/include/asm/topology.h @@ -226,6 +226,8 @@ extern cpumask_t cpu_coregroup_map(int cpu); #define topology_core_id(cpu) (cpu_data(cpu).cpu_core_id) #define topology_core_siblings(cpu) (per_cpu(cpu_core_map, cpu)) #define topology_thread_siblings(cpu) (per_cpu(cpu_sibling_map, cpu)) +#define topology_core_cpumask(cpu) (&per_cpu(cpu_core_map, cpu)) +#define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) /* indicates that pointers to the topology cpumask_t maps are valid */ #define arch_provides_topology_pointers yes