aboutsummaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c
index 833a67df1f7e..1687b0167c4a 100644
--- a/init/main.c
+++ b/init/main.c
@@ -521,7 +521,11 @@ static void __init boot_cpu_init(void)
521 cpu_set(cpu, cpu_possible_map); 521 cpu_set(cpu, cpu_possible_map);
522} 522}
523 523
524void __init __attribute__((weak)) smp_setup_processor_id(void) 524void __init __weak smp_setup_processor_id(void)
525{
526}
527
528void __init __weak thread_info_cache_init(void)
525{ 529{
526} 530}
527 531
@@ -645,6 +649,7 @@ asmlinkage void __init start_kernel(void)
645 if (efi_enabled) 649 if (efi_enabled)
646 efi_enter_virtual_mode(); 650 efi_enter_virtual_mode();
647#endif 651#endif
652 thread_info_cache_init();
648 fork_init(num_physpages); 653 fork_init(num_physpages);
649 proc_caches_init(); 654 proc_caches_init();
650 buffer_init(); 655 buffer_init();