diff options
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/percpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/percpu.h b/include/asm-generic/percpu.h index 3b709b84934f..9044aeb37828 100644 --- a/include/asm-generic/percpu.h +++ b/include/asm-generic/percpu.h | |||
@@ -29,7 +29,7 @@ do { \ | |||
29 | #define DEFINE_PER_CPU(type, name) \ | 29 | #define DEFINE_PER_CPU(type, name) \ |
30 | __typeof__(type) per_cpu__##name | 30 | __typeof__(type) per_cpu__##name |
31 | 31 | ||
32 | #define per_cpu(var, cpu) (*((void)cpu, &per_cpu__##var)) | 32 | #define per_cpu(var, cpu) (*((void)(cpu), &per_cpu__##var)) |
33 | #define __get_cpu_var(var) per_cpu__##var | 33 | #define __get_cpu_var(var) per_cpu__##var |
34 | 34 | ||
35 | #endif /* SMP */ | 35 | #endif /* SMP */ |