From: Thomas Gleixner Date: Tue, 14 Apr 2015 21:08:27 +0000 (+0000) Subject: hrtimer: Get rid of the resolution field in hrtimer_clock_base X-Git-Tag: omap-for-v4.2/fixes-rc2-v2~203^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=398ca17fb54b212cdc9da7ff4a17a35c48dd2103;p=pandora-kernel.git hrtimer: Get rid of the resolution field in hrtimer_clock_base 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 Acked-by: Peter Zijlstra Cc: Viresh Kumar Cc: Marcelo Tosatti Cc: Frederic Weisbecker Link: http://lkml.kernel.org/r/20150414203500.645454122@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed