Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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.de


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 34aee88a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)
{
{