]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] spufs: fix incorrect interrupt status clearing in backing mbox stat poll
authorJeremy Kerr <jk@ozlabs.org>
Thu, 20 Dec 2007 07:39:59 +0000 (16:39 +0900)
committerPaul Mackerras <paulus@samba.org>
Fri, 21 Dec 2007 08:46:19 +0000 (19:46 +1100)
commitc40aa4710479b5d9f0e1fdf71b151f4c3708e3eb
tree17d45695fdbe5cf9f31a3185ddd9847c68324d95
parentcc210b3ec5e4d9c690549e07aa5853e8de8dbff9
[POWERPC] spufs: fix incorrect interrupt status clearing in backing mbox stat poll

When doing a poll on the mbox stat file of a swapped-out context, we
clear the class 0 interrupt status, rather than the class 2 interrupt
status.

This change corrects the poll operation to clear the correct interrupt.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/backing_ops.c