]> err.no Git - linux-2.6/blobdiff - include/asm-generic/percpu.h
[PATCH] Consolidate the asm-ppc*/fcntl.h files into asm-powerpc
[linux-2.6] / include / asm-generic / percpu.h
index 3b709b84934f4db134327d00538989e601b57e87..9044aeb3782887d33d4b65abfb27f20cf593b1e0 100644 (file)
@@ -29,7 +29,7 @@ do {                                                          \
 #define DEFINE_PER_CPU(type, name) \
     __typeof__(type) per_cpu__##name
 
-#define per_cpu(var, cpu)                      (*((void)cpu, &per_cpu__##var))
+#define per_cpu(var, cpu)                      (*((void)(cpu), &per_cpu__##var))
 #define __get_cpu_var(var)                     per_cpu__##var
 
 #endif /* SMP */