Christophe Leroy 099bc4812f powerpc/irq: fix stack overflow verification
Before commit 0366a1c70b89 ("powerpc/irq: Run softirqs off the top of
the irq stack"), check_stack_overflow() was called by do_IRQ(), before
switching to the irq stack.
In that commit, do_IRQ() was renamed __do_irq(), and is now executing
on the irq stack, so check_stack_overflow() has just become almost
useless.

Move check_stack_overflow() call in do_IRQ() to do the check while
still on the current stack.

Fixes: 0366a1c70b89 ("powerpc/irq: Run softirqs off the top of the irq stack")
Cc: stable@vger.kernel.org
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/e033aa8116ab12b7ca9a9c75189ad0741e3b9b5f.1575872340.git.christophe.leroy@c-s.fr
2019-12-14 07:59:36 +11:00
..
2019-07-29 09:34:27 +10:00
2019-12-05 00:13:55 +11:00
2019-12-05 00:13:55 +11:00
2019-12-05 00:13:55 +11:00
2019-07-13 16:08:36 -07:00
2019-09-20 11:48:06 -07:00
2019-08-30 09:52:57 +10:00
2019-07-13 16:08:36 -07:00
2019-07-13 16:08:36 -07:00
2018-06-07 10:23:33 -07:00
2019-11-30 14:35:43 -08:00
2019-12-05 00:13:55 +11:00
2018-05-25 12:04:46 +10:00