]> git.baikalelectronics.ru Git - kernel.git/commit
jump_labels: Allow array initialisers
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 5 Sep 2016 17:25:47 +0000 (18:25 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 7 Sep 2016 08:41:11 +0000 (09:41 +0100)
commita79c40e9f3731954cedbbb56d3cb55248fe075c2
tree3e2573808bf74527b393823533fe0be5b009522f
parent2bc9aa52c9f288fa88377197806b0bd03b0291f6
jump_labels: Allow array initialisers

The static key API is currently designed around single variable
definitions. There are cases where an array of static keys is desirable,
so extend the API to allow this rather than using the internal static
key implementation directly.

Cc: Jason Baron <jbaron@akamai.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Suggested-by: Dave P Martin <Dave.Martin@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/static-keys.txt
include/linux/jump_label.h