diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-19 18:08:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-19 18:08:53 -0400 |
commit | 89d0abe3d695103505c025dde6e07b9c3dd772f4 (patch) | |
tree | 76b68d041153acf601aeb2cba3370800d632e4ca /arch/arm64/kernel/smp.c | |
parent | 89a8c5940d5cb43e6bede51bf4b3a7516b0ca622 (diff) | |
parent | ff701306cd49aaff80fb852323b387812bc76491 (diff) |
Merge tag 'arm64-stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64
Pull arm64 fixes from Catalin Marinas:
- Post -rc1 update to the common reboot infrastructure.
- Fixes (user cache maintenance fault handling, !COMPAT compilation,
CPU online and interrupt hanlding).
* tag 'arm64-stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64:
arm64: use common reboot infrastructure
arm64: mm: don't treat user cache maintenance faults as writes
arm64: add '#ifdef CONFIG_COMPAT' for aarch32_break_handler()
arm64: Only enable local interrupts after the CPU is marked online
Diffstat (limited to 'arch/arm64/kernel/smp.c')
-rw-r--r-- | arch/arm64/kernel/smp.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 4a053b3d1728..fee5cce83450 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c | |||
@@ -200,13 +200,6 @@ asmlinkage void secondary_start_kernel(void) | |||
200 | raw_spin_unlock(&boot_lock); | 200 | raw_spin_unlock(&boot_lock); |
201 | 201 | ||
202 | /* | 202 | /* |
203 | * Enable local interrupts. | ||
204 | */ | ||
205 | notify_cpu_starting(cpu); | ||
206 | local_irq_enable(); | ||
207 | local_fiq_enable(); | ||
208 | |||
209 | /* | ||
210 | * OK, now it's safe to let the boot CPU continue. Wait for | 203 | * OK, now it's safe to let the boot CPU continue. Wait for |
211 | * the CPU migration code to notice that the CPU is online | 204 | * the CPU migration code to notice that the CPU is online |
212 | * before we continue. | 205 | * before we continue. |
@@ -215,6 +208,14 @@ asmlinkage void secondary_start_kernel(void) | |||
215 | complete(&cpu_running); | 208 | complete(&cpu_running); |
216 | 209 | ||
217 | /* | 210 | /* |
211 | * Enable GIC and timers. | ||
212 | */ | ||
213 | notify_cpu_starting(cpu); | ||
214 | |||
215 | local_irq_enable(); | ||
216 | local_fiq_enable(); | ||
217 | |||
218 | /* | ||
218 | * OK, it's off to the idle thread for us | 219 | * OK, it's off to the idle thread for us |
219 | */ | 220 | */ |
220 | cpu_startup_entry(CPUHP_ONLINE); | 221 | cpu_startup_entry(CPUHP_ONLINE); |