diff options
author | James Hogan <james.hogan@imgtec.com> | 2013-06-28 12:56:02 (GMT) |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2013-07-02 10:03:51 (GMT) |
commit | 234c7f1ac109ad1af4ae410463d03ccebf3d6657 (patch) | |
tree | 445494b2ed23a56964859e048d4eed0933dc8060 /fs | |
parent | 42748752f6ada54faa4f39fa471dabce62eaa79a (diff) | |
download | linux-234c7f1ac109ad1af4ae410463d03ccebf3d6657.tar.xz |
metag: smp: enable irqs after set_cpu_online
In secondary_start_kernel() interrupts should be enabled with
local_irq_enable() after the cpu is marked as online with
set_cpu_online(). Otherwise it's possible for a timer interrupt to
trigger a softirq, which if the cpu is marked as offline may have it's
affinity altered.
Reported-by: Kirill Tkhai <tkhai@yandex.ru>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Kirill Tkhai <tkhai@yandex.ru>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions