jump_label: Split out code under the hotplug lock
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 1 Aug 2017 08:02:55 +0000 (09:02 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 10 Aug 2017 10:28:58 +0000 (12:28 +0200)
commit8b7b412807053ab5f059ffae426a280e769a5bda
treec1f9d74a5612558d149208c635dde99ced6dd279
parentb70cecf4b6b72a9977576ab32cca0e24f286f517
jump_label: Split out code under the hotplug lock

In order to later introduce an "already locked" version of some
of the static key funcions, let's split the code into the core stuff
(the *_cpuslocked functions) and the usual helpers, which now
take/release the hotplug lock and call into the _cpuslocked
versions.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/20170801080257.5056-3-marc.zyngier@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/jump_label.c