powerpc: Replace __get_cpu_var uses
[linux-2.6-block.git] / arch / powerpc / sysdev / xics / xics-common.c
index fe0cca4771648f22690dd8e216967798d8cf4843..365249cd346bb368d525041f15a9b2b4b1ab38e9 100644 (file)
@@ -155,7 +155,7 @@ int __init xics_smp_probe(void)
 
 void xics_teardown_cpu(void)
 {
-       struct xics_cppr *os_cppr = &__get_cpu_var(xics_cppr);
+       struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr);
 
        /*
         * we have to reset the cppr index to 0 because we're