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, 7 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index bce0eb7f4f8f..ae04eb78a93a 100644
--- a/init/main.c
+++ b/init/main.c
@@ -446,10 +446,17 @@ static void __init boot_cpu_init(void)
446 cpu_set(cpu, cpu_possible_map); 446 cpu_set(cpu, cpu_possible_map);
447} 447}
448 448
449void __init __attribute__((weak)) smp_setup_processor_id(void)
450{
451}
452
449asmlinkage void __init start_kernel(void) 453asmlinkage void __init start_kernel(void)
450{ 454{
451 char * command_line; 455 char * command_line;
452 extern struct kernel_param __start___param[], __stop___param[]; 456 extern struct kernel_param __start___param[], __stop___param[];
457
458 smp_setup_processor_id();
459
453/* 460/*
454 * Interrupts are still disabled. Do necessary setups, then 461 * Interrupts are still disabled. Do necessary setups, then
455 * enable them 462 * enable them