]> git.baikalelectronics.ru Git - kernel.git/commit
hrtimers: Make struct hrtimer_cpu_base layout less stupid
authorThomas Gleixner <tglx@linutronix.de>
Fri, 20 May 2011 11:02:58 +0000 (13:02 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 23 May 2011 11:59:53 +0000 (13:59 +0200)
commit3c2259d6d4f18e9f51cd5af3effb55783760f870
tree456660380194008cf5bd338a5a94b28a1d9cf346
parent5fc95112bff031a1adccea9cdbb7ea895519a54f
hrtimers: Make struct hrtimer_cpu_base layout less stupid

In the HIGHRES=y case we access the members at the end of struct
hrtimer_cpu_base first and then the one at the beginning. Move the
hrtimer data to front, so we have linear progressing access.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Peter Zijlstra <peterz@infradead.org>
include/linux/hrtimer.h