diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/smp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c index eb3e2b112a0d..1268392f1d27 100644 --- a/arch/mips/kernel/smp.c +++ b/arch/mips/kernel/smp.c | |||
@@ -130,6 +130,11 @@ asmlinkage __cpuinit void start_secondary(void) | |||
130 | 130 | ||
131 | synchronise_count_slave(); | 131 | synchronise_count_slave(); |
132 | 132 | ||
133 | /* | ||
134 | * irq will be enabled in ->smp_finish(), enabling it too early | ||
135 | * is dangerous. | ||
136 | */ | ||
137 | WARN_ON_ONCE(!irqs_disabled()); | ||
133 | mp_ops->smp_finish(); | 138 | mp_ops->smp_finish(); |
134 | 139 | ||
135 | cpu_idle(); | 140 | cpu_idle(); |