]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] spufs: Disable local interrupts for SPE hash_page calls.
authorArnd Bergmann <arnd@arndb.de>
Sat, 29 Apr 2006 00:40:21 +0000 (02:40 +0200)
committerPaul Mackerras <paulus@samba.org>
Sat, 29 Apr 2006 05:11:25 +0000 (15:11 +1000)
commitca073b44b141e7e3173e553982e47285e2965f75
tree7cc1f027c09c6265887711969b728d4cbf1dfe6d
parent88f86726510cfe6ef75720d20ca0d10db2ff7759
[PATCH] spufs: Disable local interrupts for SPE hash_page calls.

This patch disables and saves local interrupts during
hash_page processing for SPE contexts.

We have to do it explicitly in the spu_irq_class_1_bottom
function. For the interrupt handlers, we get the behaviour
implicitly by using SA_INTERRUPT to disable interrupts while
in the handler.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spu_base.c