jump_label: Provide jump_label_key initializers
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 6 Jul 2011 12:20:14 +0000 (14:20 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Dec 2011 19:41:03 +0000 (20:41 +0100)
commitac99b862fb98a36929831791da31714f709c2aa8
tree93edba15ae7bb289b9a820af6e75d24e43ebea9a
parent9cdbe1cbac4ec318037297175587a0080acc9d11
jump_label: Provide jump_label_key initializers

Provide two initializers for jump_label_key that initialize it enabled
or disabled. Also modify all jump_label code to allow for jump_labels to be
initialized enabled.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Jason Baron <jbaron@redhat.com>
Link: http://lkml.kernel.org/n/tip-p40e3yj21b68y03z1yv825e7@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/jump_label.h
kernel/jump_label.c