sched: Use jump_labels for sched_feat
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:51:26 +0000 (20:51 +0100)
commitf8b6d1cc7dc15cf3de538b864eefaedad7a84d85
tree084948d4bebc74a66231d95e03daaeb808640d66
parentbe726ffd1ef291c04c4d6632ac277afa1c281712
sched: Use jump_labels for sched_feat

Now that we initialize jump_labels before sched_init() we can use them
for the debug features without having to worry about a window where
they have the wrong setting.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-vpreo4hal9e0kzqmg5y0io2k@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched/core.c
kernel/sched/features.h
kernel/sched/sched.h