diff options
Diffstat (limited to 'arch/sparc/include/asm/cpudata_32.h')
-rw-r--r-- | arch/sparc/include/asm/cpudata_32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/cpudata_32.h b/arch/sparc/include/asm/cpudata_32.h index 0300d94c25b3..05f366379f53 100644 --- a/arch/sparc/include/asm/cpudata_32.h +++ b/arch/sparc/include/asm/cpudata_32.h | |||
@@ -26,6 +26,6 @@ typedef struct { | |||
26 | 26 | ||
27 | DECLARE_PER_CPU(cpuinfo_sparc, __cpu_data); | 27 | DECLARE_PER_CPU(cpuinfo_sparc, __cpu_data); |
28 | #define cpu_data(__cpu) per_cpu(__cpu_data, (__cpu)) | 28 | #define cpu_data(__cpu) per_cpu(__cpu_data, (__cpu)) |
29 | #define local_cpu_data() __get_cpu_var(__cpu_data) | 29 | #define local_cpu_data() (*this_cpu_ptr(&__cpu_data)) |
30 | 30 | ||
31 | #endif /* _SPARC_CPUDATA_H */ | 31 | #endif /* _SPARC_CPUDATA_H */ |