[PATCH V2 06/19] tick: create tick_get_cpu_device() to get tick_cpu_device on this cpu

2014-04-21 Thread Viresh Kumar
We are using &__get_cpu_var(tick_cpu_device) at several places and would be better if we create tick_get_cpu_device() and use it instead. This also converts tick_get_device(smp_processor_id()) to use tick_get_cpu_device(). Signed-off-by: Viresh Kumar --- include/linux/tick.h | 5 +

[PATCH V2 06/19] tick: create tick_get_cpu_device() to get tick_cpu_device on this cpu

2014-04-21 Thread Viresh Kumar
We are using __get_cpu_var(tick_cpu_device) at several places and would be better if we create tick_get_cpu_device() and use it instead. This also converts tick_get_device(smp_processor_id()) to use tick_get_cpu_device(). Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---