sh: Fixes some write posting issues in the interrupt handling for SH
authorStuart Menefy <stuart.menefy@st.com>
Mon, 24 Aug 2009 09:27:33 +0000 (18:27 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 24 Aug 2009 09:27:33 +0000 (18:27 +0900)
commit6000fc4d6f3e55ad52cce8d76317187fe01af2aa
treebc86a1f13465a791b7e77f7663280bcb23fdd378
parentbd4fb4d4c1e4a5a2ffbf57a83817a749df1339dd
sh: Fixes some write posting issues in the interrupt handling for SH

It is possible for the CPU to re-enable it's interrupt block bit
before the write to the interrupt controller has actually masked out
the external interupt at the controller. We get around this by
reading back from the interrupt controller which will ensure the
write has happened.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/irq/ipr.c
drivers/sh/intc.c