diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2011-10-13 01:17:54 +0200 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2011-10-25 20:55:15 +0200 |
commit | 97ce2c88f9ad42e3c60a9beb9fca87abf3639faa (patch) | |
tree | c25d41a8754b6e11dbf54ba69ebbee11fdffd07e /init/main.c | |
parent | x86/jump_label: add arch_jump_label_transform_static() (diff) | |
download | linux-97ce2c88f9ad42e3c60a9beb9fca87abf3639faa.tar.xz 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/main.c')
-rw-r--r-- | init/main.c | 3 |
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() |