[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)
commitf807221dedbd30726c5dffcd5b5d22ce0ea683cb
tree7cc1f027c09c6265887711969b728d4cbf1dfe6d
parent03054d51a70e8c273df5d9bc31fea6c843eaa1c3
[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