diff options
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index edff815744eb..b2f3b566790e 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -445,10 +445,17 @@ static void __init boot_cpu_init(void) | |||
445 | cpu_set(cpu, cpu_possible_map); | 445 | cpu_set(cpu, cpu_possible_map); |
446 | } | 446 | } |
447 | 447 | ||
448 | void __init __attribute__((weak)) smp_setup_processor_id(void) | ||
449 | { | ||
450 | } | ||
451 | |||
448 | asmlinkage void __init start_kernel(void) | 452 | asmlinkage void __init start_kernel(void) |
449 | { | 453 | { |
450 | char * command_line; | 454 | char * command_line; |
451 | extern struct kernel_param __start___param[], __stop___param[]; | 455 | extern struct kernel_param __start___param[], __stop___param[]; |
456 | |||
457 | smp_setup_processor_id(); | ||
458 | |||
452 | /* | 459 | /* |
453 | * Interrupts are still disabled. Do necessary setups, then | 460 | * Interrupts are still disabled. Do necessary setups, then |
454 | * enable them | 461 | * enable them |