diff options
author | Tejun Heo | 2015-09-18 17:56:28 +0200 |
---|---|---|
committer | Tejun Heo | 2015-09-18 17:56:28 +0200 |
commit | fa128fd735bd236b6b04d3fedfed7a784137c185 (patch) | |
tree | 34b2364ce6da15daf6a3f03864d2d9a9a2baa7c2 /include/linux/cgroup.h | |
parent | cgroup: simplify threadgroup locking (diff) | |
download | kernel-qcow2-linux-fa128fd735bd236b6b04d3fedfed7a784137c185.tar.gz kernel-qcow2-linux-fa128fd735bd236b6b04d3fedfed7a784137c185.tar.xz kernel-qcow2-linux-fa128fd735bd236b6b04d3fedfed7a784137c185.zip |
jump_label: make static_key_enabled() work on static_key_true/false types too
static_key_enabled() can be used on struct static_key but not on its
wrapper types static_key_true and static_key_false. The function is
useful for debugging and management of static keys. Update it so that
it can be used for the wrapper types too.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/cgroup.h')
0 files changed, 0 insertions, 0 deletions