summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJeremy Fitzhardinge2011-10-13 01:17:54 +0200
committerJeremy Fitzhardinge2011-10-25 20:55:15 +0200
commit97ce2c88f9ad42e3c60a9beb9fca87abf3639faa (patch)
treec25d41a8754b6e11dbf54ba69ebbee11fdffd07e /init
parentx86/jump_label: add arch_jump_label_transform_static() (diff)
downloadkernel-qcow2-linux-97ce2c88f9ad42e3c60a9beb9fca87abf3639faa.tar.gz
kernel-qcow2-linux-97ce2c88f9ad42e3c60a9beb9fca87abf3639faa.tar.xz
kernel-qcow2-linux-97ce2c88f9ad42e3c60a9beb9fca87abf3639faa.zip
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()