Messages in this thread | | | Date | Fri, 28 Mar 2014 17:54:38 +0530 | Subject | Re: [PATCH 16/16] hrtimer: use base->hres_active directly instead of hrtimer_hres_active() | From | Viresh Kumar <> |
| |
On 28 March 2014 17:11, Viresh Kumar <viresh.kumar@linaro.org> wrote: > @@ -1107,7 +1107,7 @@ ktime_t hrtimer_get_next_event(void) > > raw_spin_lock_irqsave(&cpu_base->lock, flags); > > - if (!hrtimer_hres_active()) { > + if (!cpu_base->hres_active) { > for (i = 0; i < HRTIMER_MAX_CLOCK_BASES; i++, base++) { > struct hrtimer *timer; > struct timerqueue_node *next; > @@ -1437,7 +1437,7 @@ void hrtimer_run_queues(void) > struct hrtimer_clock_base *base; > int index, gettime = 1; > > - if (hrtimer_hres_active()) > + if (cpu_base->hres_active) > return; > > for (index = 0; index < HRTIMER_MAX_CLOCK_BASES; index++) {
These two changes are broken.. Would remove these and resend.. My tree is fixed though..
| |