[POWERPC] Rewrite IO allocation & mapping on powerpc64
[deliverable/linux.git] / arch / powerpc / platforms / cell / io-workarounds.c
index 7fb92f23f380a60c66a01eb7a5314ac6bbe79a93..9d7c2ef940a818fff1406e7b6523174499451da9 100644 (file)
@@ -102,7 +102,7 @@ static void spider_io_flush(const volatile void __iomem *addr)
                vaddr = (unsigned long)PCI_FIX_ADDR(addr);
 
                /* Check if it's in allowed range for  PIO */
-               if (vaddr < PHBS_IO_BASE || vaddr >= IMALLOC_BASE)
+               if (vaddr < PHB_IO_BASE || vaddr > PHB_IO_END)
                        return;
 
                /* Try to find a PTE. If not, clear the paddr, we'll do
This page took 0.050066 seconds and 5 git commands to generate.