From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754882AbbDTIeW (ORCPT ); Mon, 20 Apr 2015 04:34:22 -0400 Received: from e19.ny.us.ibm.com ([129.33.205.209]:45997 "EHLO e19.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754394AbbDTIeT (ORCPT ); Mon, 20 Apr 2015 04:34:19 -0400 Message-ID: <5534BA02.10806@linux.vnet.ibm.com> Date: Mon, 20 Apr 2015 14:04:10 +0530 From: Preeti U Murthy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Thomas Gleixner , LKML CC: Peter Zijlstra , Ingo Molnar , Viresh Kumar , Marcelo Tosatti , Frederic Weisbecker Subject: Re: [patch 02/39] hrtimer: Get rid of the resolution field in hrtimer_clock_base References: <20150414203303.702062272@linutronix.de> <20150414203500.645454122@linutronix.de> In-Reply-To: <20150414203500.645454122@linutronix.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15042008-0013-0000-0000-0000006DE1F0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/15/2015 02:38 AM, Thomas Gleixner wrote: >>The field has no value because all clock bases have the same >>resolution. The resolution only changes when we switch to high >>resolution timer mode. We can evaluate that from a single static >>variable as well. In the !HIGHRES case its simply a constant. >> >>Export the variable, so we can simplify the usage sites. >> >>Signed-off-by: Thomas Gleixner >>--- Reviewed-by: Preeti U Murthy