James Hogan 928df02bd4 metag: SMP: Fix 4KiB stack setup on secondary CPUs
Back in early 2008, 4KiB stack support was added to reduce memory
consumption on workloads with lots of threads, using a separate IRQ
stack per CPU to alleviate stack pressure. However the SMP code added a
year and a half later didn't set up the IRQ stack when bringing up
secondary CPUs, resulting in a crash when SMP is configured with 4KiB
stacks, as soon as the first interrupt arrived on a secondary CPU.

Fix with calls to irq_ctx_exit()/irq_ctx_exit() when bringing up/down a
CPU.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-metag@vger.kernel.org
2015-09-15 22:52:47 +01:00
..
2013-03-02 20:09:54 +00:00
2013-03-02 20:09:54 +00:00
2013-03-02 20:09:51 +00:00
2013-03-02 20:09:49 +00:00
2013-03-02 20:09:54 +00:00
2013-03-27 14:37:47 +00:00
2013-03-02 20:09:52 +00:00
2013-03-02 20:09:49 +00:00
2013-03-02 20:09:45 +00:00
2013-11-06 10:40:02 +00:00
2013-03-02 20:09:49 +00:00
2013-03-02 20:09:54 +00:00