diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2011-10-12 19:17:54 -0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2011-10-25 14:55:15 -0400 |
commit | 97ce2c88f9ad42e3c60a9beb9fca87abf3639faa (patch) | |
tree | c25d41a8754b6e11dbf54ba69ebbee11fdffd07e /init/main.c | |
parent | e71a5be15e47a73a2964712967fe93ee8ccf551b (diff) |
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) | |||
515 | parse_args("Booting kernel", static_command_line, __start___param, | 515 | parse_args("Booting kernel", static_command_line, __start___param, |
516 | __stop___param - __start___param, | 516 | __stop___param - __start___param, |
517 | &unknown_bootoption); | 517 | &unknown_bootoption); |
518 | |||
519 | jump_label_init(); | ||
520 | |||
518 | /* | 521 | /* |
519 | * These use large bootmem allocations and must precede | 522 | * These use large bootmem allocations and must precede |
520 | * kmem_cache_init() | 523 | * kmem_cache_init() |