diff options
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r-- | kernel/cpu.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index 6a374544d495..5644ec5582b9 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c | |||
@@ -527,18 +527,9 @@ static int _cpu_up(unsigned int cpu, int tasks_frozen) | |||
527 | goto out_notify; | 527 | goto out_notify; |
528 | } | 528 | } |
529 | 529 | ||
530 | /* | ||
531 | * Some architectures have to walk the irq descriptors to | ||
532 | * setup the vector space for the cpu which comes online. | ||
533 | * Prevent irq alloc/free across the bringup. | ||
534 | */ | ||
535 | irq_lock_sparse(); | ||
536 | |||
537 | /* Arch-specific enabling code. */ | 530 | /* Arch-specific enabling code. */ |
538 | ret = __cpu_up(cpu, idle); | 531 | ret = __cpu_up(cpu, idle); |
539 | 532 | ||
540 | irq_unlock_sparse(); | ||
541 | |||
542 | if (ret != 0) | 533 | if (ret != 0) |
543 | goto out_notify; | 534 | goto out_notify; |
544 | BUG_ON(!cpu_online(cpu)); | 535 | BUG_ON(!cpu_online(cpu)); |