[POWERPC] qe_ic: Do a sync when masking interrupts
authorScott Wood <scottwood@freescale.com>
Wed, 6 Dec 2006 21:16:24 +0000 (15:16 -0600)
committerPaul Mackerras <paulus@samba.org>
Fri, 8 Dec 2006 06:10:22 +0000 (17:10 +1100)
commit2c1d2f34a03ef0a89ff57da18b52fda9e6f09a10
tree049e2b4250fb2fec7c239778afce3991454d2ef2
parentd0e70341c05f6c31375530e0ae29b319153004a7
[POWERPC] qe_ic: Do a sync when masking interrupts

This patch causes a sync do be done after masking a QE interrupt, to
ensure that the masking has completed before interrupts are enabled.
This allows the masking of the cascade IRQ to be removed without causing
spurious interrupts.

The mask_and_ack function is also removed and set to the mask function,
as the two are identical.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/qe_lib/qe_ic.c