diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-08 08:08:24 +1100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-10-07 14:19:39 -0700 |
commit | 8b5ede69d24db939f52b47effff2f6fe1e83e08b (patch) | |
tree | c492c191c688296cdd708e1d9e5fc6cc63197edf /scripts/Lindent | |
parent | fd848319e751739a93aa9fc8182e57e87c5a0df1 (diff) | |
download | linux-8b5ede69d24db939f52b47effff2f6fe1e83e08b.tar.gz linux-8b5ede69d24db939f52b47effff2f6fe1e83e08b.tar.bz2 linux-8b5ede69d24db939f52b47effff2f6fe1e83e08b.zip |
powerpc/irq: Don't switch to irq stack from softirq stack
irq_exit() is now called on the irq stack, which can trigger a switch to
the softirq stack from the irq stack. If an interrupt happens at that
point, we will not properly detect the re-entrancy and clobber the
original return context on the irq stack.
This fixes it. The side effect is to prevent all nesting from softirq
stack to irq stack even in the "safe" case but it's simpler that way and
matches what x86_64 does.
Reported-by: Cédric Le Goater <clg@fr.ibm.com>
Tested-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Lindent')
0 files changed, 0 insertions, 0 deletions