summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2011-10-12 16:17:54 -0700
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2011-10-25 11:55:15 -0700
commit97ce2c88f9ad42e3c60a9beb9fca87abf3639faa (patch)
treec25d41a8754b6e11dbf54ba69ebbee11fdffd07e /init
parente71a5be15e47a73a2964712967fe93ee8ccf551b (diff)
downloadlinux-97ce2c88f9ad42e3c60a9beb9fca87abf3639faa.tar.bz2
jump-label: initialize jump-label subsystem much earlier
Initialize jump_labels much, much earlier, so they're available for use during system setup. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Diffstat (limited to 'init')
-rw-r--r--init/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index 2a9b88aa5e76..29d8d847de94 100644
--- a/init/main.c
+++ b/init/main.c
@@ -515,6 +515,9 @@ asmlinkage void __init start_kernel(void)
parse_args("Booting kernel", static_command_line, __start___param,
__stop___param - __start___param,
&unknown_bootoption);
+
+ jump_label_init();
+
/*
* These use large bootmem allocations and must precede
* kmem_cache_init()