diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-04-15 00:08:27 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-04-22 18:06:48 +0300 |
commit | 398ca17fb54b212cdc9da7ff4a17a35c48dd2103 (patch) | |
tree | d736078b944be8defa53934549b15254412c5208 /net/sched/sch_api.c | |
parent | d9f0acdeef48570c4e6159d3108f12b64571392e (diff) | |
download | linux-398ca17fb54b212cdc9da7ff4a17a35c48dd2103.tar.xz |
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 <tglx@linutronix.de>
Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/20150414203500.645454122@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net/sched/sch_api.c')
0 files changed, 0 insertions, 0 deletions