diff options
Diffstat (limited to 'arch/powerpc/include/asm/topology.h')
-rw-r--r-- | arch/powerpc/include/asm/topology.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h index a7d76949155..789599b6996 100644 --- a/arch/powerpc/include/asm/topology.h +++ b/arch/powerpc/include/asm/topology.h | |||
@@ -112,8 +112,8 @@ static inline void sysfs_remove_device_from_node(struct sys_device *dev, | |||
112 | #ifdef CONFIG_PPC64 | 112 | #ifdef CONFIG_PPC64 |
113 | #include <asm/smp.h> | 113 | #include <asm/smp.h> |
114 | 114 | ||
115 | #define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) | 115 | #define topology_thread_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu)) |
116 | #define topology_core_cpumask(cpu) (&per_cpu(cpu_core_map, cpu)) | 116 | #define topology_core_cpumask(cpu) (per_cpu(cpu_core_map, cpu)) |
117 | #define topology_core_id(cpu) (cpu_to_core_id(cpu)) | 117 | #define topology_core_id(cpu) (cpu_to_core_id(cpu)) |
118 | #endif | 118 | #endif |
119 | #endif | 119 | #endif |