]> git.kernelconcepts.de Git - mv-sheeva.git/blobdiff - arch/x86/oprofile/nmi_int.c
Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mv-sheeva.git] / arch / x86 / oprofile / nmi_int.c
index e77ea0b566e0fea6671e25c333ecd679438197a7..e2b7b0c06cdf6cad05060082f193a0846b635792 100644 (file)
@@ -142,7 +142,7 @@ static inline int has_mux(void)
 
 inline int op_x86_phys_to_virt(int phys)
 {
-       return __get_cpu_var(switch_index) + phys;
+       return __this_cpu_read(switch_index) + phys;
 }
 
 inline int op_x86_virt_to_phys(int virt)