sh: Fixes some write posting issues in the interrupt handling for SH
[deliverable/linux.git] / arch / sh / kernel / cpu / irq / ipr.c
index 808d99a48efb63880be86ec1e7011223d01c9207..c1508a90fc6af2049946e31de8c98a764b009863 100644 (file)
@@ -35,6 +35,7 @@ static void disable_ipr_irq(unsigned int irq)
        unsigned long addr = get_ipr_desc(irq)->ipr_offsets[p->ipr_idx];
        /* Set the priority in IPR to 0 */
        __raw_writew(__raw_readw(addr) & (0xffff ^ (0xf << p->shift)), addr);
+       (void)__raw_readw(addr);        /* Read back to flush write posting */
 }
 
 static void enable_ipr_irq(unsigned int irq)
This page took 0.025958 seconds and 5 git commands to generate.