diff options
author | Arnd Bergmann <arnd@arndb.de> | 2008-02-29 15:16:48 +1100 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-02-29 15:16:48 +1100 |
commit | fae9ca791507876c3ccaa8ab686b2ce42dc7a560 (patch) | |
tree | a64e844ad1074a52be048ac5d82c5e53047f0abd /net/tipc | |
parent | 71791bee90dd29b292c7e55c1c00857578c912bd (diff) |
[POWERPC] spufs: synchronize IRQ when disabling
There is a small race between the context save procedure
and the SPU interrupt handling, where we expect all interrupt
processing to have finished after disabling them, while
an interrupt is still being processed on another CPU.
The obvious fix is to call synchronize_irq() after disabling
the interrupts at the start of the context save procedure
to make sure we never access the SPU any more during an
ongoing save or even after that.
Thanks to Benjamin Herrenschmidt for pointing this out.
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions