diff options
| author | Thomas Gleixner <[email protected]> | 2015-04-14 21:08:27 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2015-04-22 17:06:48 +0200 |
| commit | 398ca17fb54b212cdc9da7ff4a17a35c48dd2103 (patch) | |
| tree | d736078b944be8defa53934549b15254412c5208 /tools/perf/scripts/python | |
| parent | d9f0acdeef48570c4e6159d3108f12b64571392e (diff) | |
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 <[email protected]>
Reviewed-by: Preeti U Murthy <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Viresh Kumar <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions