]> git.karo-electronics.de Git - linux-beck.git/commit
timekeeping: Lift clocksource cacheline restriction
authorThomas Gleixner <tglx@linutronix.de>
Thu, 19 Nov 2015 10:43:09 +0000 (11:43 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 25 Nov 2015 21:28:30 +0000 (22:28 +0100)
commit09a9982016499daeb3fbee5ac8d87797310a565a
tree874afa4945b5b95b5d13607349291ce72bc6d45e
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4
timekeeping: Lift clocksource cacheline restriction

We cache all hotpath members of a clocksource in the time keeper
core. So there is no requirement in general to cache line align struct
clocksource. Remove the enforces alignment.

That allows users which need to wrap struct clocksource into their own
struct to align the struct without getting extra padding.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Mans Rullgard <mans@mansr.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Nicolas Pitre <nico@linaro.org>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Sebastian Frias <sebastian_frias@sigmadesigns.com>
Link: http://lkml.kernel.org/r/alpine.DEB.2.11.1511191209000.3898@nanos
include/linux/clocksource.h