jump_label: Provide hotplug context variants
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 1 Aug 2017 08:02:56 +0000 (09:02 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 10 Aug 2017 10:28:59 +0000 (12:28 +0200)
commit5a40527f8f0798553764fc8db4111d7d9c33ea51
tree8147a2345202a3e7d5b1d3b14ca1c804d660f300
parent8b7b412807053ab5f059ffae426a280e769a5bda
jump_label: Provide hotplug context variants

As using the normal static key API under the hotplug lock is
pretty much impossible, let's provide a variant of some of them
that require the hotplug lock to have already been taken.

These function are only meant to be used in CPU hotplug callbacks.

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-4-marc.zyngier@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Documentation/static-keys.txt
include/linux/jump_label.h
kernel/jump_label.c