[POWERPC] spufs: use #defines for SPU class [012] exception status
Add a few #defines for the class 0, 1 and 2 interrupt status bits, and use them instead of magic numbers when we're setting or checking for these interrupts. Also, add a #define for the class 2 mailbox threshold interrupt mask. Signed-off-by:Jeremy Kerr <jk@ozlabs.org> Signed-off-by:
Paul Mackerras <paulus@samba.org>
Showing
- arch/powerpc/platforms/cell/spu_base.c 21 additions, 21 deletionsarch/powerpc/platforms/cell/spu_base.c
- arch/powerpc/platforms/cell/spufs/backing_ops.c 11 additions, 6 deletionsarch/powerpc/platforms/cell/spufs/backing_ops.c
- arch/powerpc/platforms/cell/spufs/hw_ops.c 8 additions, 6 deletionsarch/powerpc/platforms/cell/spufs/hw_ops.c
- include/asm-powerpc/spu.h 14 additions, 0 deletionsinclude/asm-powerpc/spu.h
Loading
Please register or sign in to comment