]> git.baikalelectronics.ru Git - kernel.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)
commiteb2df1cda64fbaeb0dc90ef1447c4a55e7db5359
tree874afa4945b5b95b5d13607349291ce72bc6d45e
parent1d37f22c117701709b102005124f4747fab5d517
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