diff options
author | James Hogan <james.hogan@imgtec.com> | 2013-06-28 13:56:02 +0100 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2013-07-02 11:03:51 +0100 |
commit | 234c7f1ac109ad1af4ae410463d03ccebf3d6657 (patch) | |
tree | 445494b2ed23a56964859e048d4eed0933dc8060 /net | |
parent | 42748752f6ada54faa4f39fa471dabce62eaa79a (diff) |
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 'net')
0 files changed, 0 insertions, 0 deletions