lkml.org 
[lkml]   [2014]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 16/16] hrtimer: use base->hres_active directly instead of hrtimer_hres_active()
From
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..


\
 
 \ /
  Last update: 2014-03-28 14:01    [W:0.109 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site