From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751370AbaC1MYj (ORCPT ); Fri, 28 Mar 2014 08:24:39 -0400 Received: from mail-oa0-f45.google.com ([209.85.219.45]:45768 "EHLO mail-oa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751140AbaC1MYi (ORCPT ); Fri, 28 Mar 2014 08:24:38 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 28 Mar 2014 17:54:38 +0530 Message-ID: Subject: Re: [PATCH 16/16] hrtimer: use base->hres_active directly instead of hrtimer_hres_active() From: Viresh Kumar To: Thomas Gleixner Cc: Lists linaro-kernel , Linux Kernel Mailing List , =?ISO-8859-1?Q?Fr=E9d=E9ric_Weisbecker?= , Linaro Networking , Arvind Chauhan , Viresh Kumar Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28 March 2014 17:11, Viresh Kumar 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..