|
@@ -1227,7 +1227,7 @@ static unsigned long cmp_next_hrtimer_event(unsigned long now,
|
|
|
*/
|
|
|
unsigned long get_next_timer_interrupt(unsigned long now)
|
|
|
{
|
|
|
- struct tvec_base *base = __get_cpu_var(tvec_bases);
|
|
|
+ struct tvec_base *base = __this_cpu_read(tvec_bases);
|
|
|
unsigned long expires;
|
|
|
|
|
|
spin_lock(&base->lock);
|
|
@@ -1267,7 +1267,7 @@ void update_process_times(int user_tick)
|
|
|
*/
|
|
|
static void run_timer_softirq(struct softirq_action *h)
|
|
|
{
|
|
|
- struct tvec_base *base = __get_cpu_var(tvec_bases);
|
|
|
+ struct tvec_base *base = __this_cpu_read(tvec_bases);
|
|
|
|
|
|
hrtimer_run_pending();
|
|
|
|