]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/hrtimer.c
core: Replace __get_cpu_var with __this_cpu_read if not used for an address.
[mv-sheeva.git] / kernel / hrtimer.c
index 72206cf5c6cf854898d889a6a645e44febdd526f..29de5ae4ca956b7f06c0ca56c968493fb22fa316 100644 (file)
@@ -497,7 +497,7 @@ static inline int hrtimer_is_hres_enabled(void)
  */
 static inline int hrtimer_hres_active(void)
 {
-       return __get_cpu_var(hrtimer_bases).hres_active;
+       return __this_cpu_read(hrtimer_bases.hres_active);
 }
 
 /*