Commit 6d9a1411 authored by Thomas Gleixner's avatar Thomas Gleixner

hrtimer: Cache line align the hrtimer cpu base

We really want that data structure to start at a cache line boundary.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
Cc: Preeti U Murthy <preeti@linux.vnet.ibm.com>
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/20150414203501.417597627@linutronix.deSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 34aee88a
...@@ -191,7 +191,7 @@ struct hrtimer_cpu_base { ...@@ -191,7 +191,7 @@ struct hrtimer_cpu_base {
unsigned int max_hang_time; unsigned int max_hang_time;
#endif #endif
struct hrtimer_clock_base clock_base[HRTIMER_MAX_CLOCK_BASES]; struct hrtimer_clock_base clock_base[HRTIMER_MAX_CLOCK_BASES];
}; } ____cacheline_aligned;
static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment