]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/mm/ioremap.c
sh: Kill off UTLB flush in fast-path.
[linux-2.6-omap-h63xx.git] / arch / sh / mm / ioremap.c
index 90b494a0cf45b5f78c1c98c5d8b9c7b28c8868ac..0c7b7e33abdcfd6e2ddf242623683d3ee89d7b6c 100644 (file)
@@ -22,6 +22,7 @@
 #include <asm/addrspace.h>
 #include <asm/cacheflush.h>
 #include <asm/tlbflush.h>
+#include <asm/mmu.h>
 
 /*
  * Remap an arbitrary physical address space into the kernel virtual
@@ -44,12 +45,6 @@ void __iomem *__ioremap(unsigned long phys_addr, unsigned long size,
        if (!size || last_addr < phys_addr)
                return NULL;
 
-       /*
-        * Don't remap the low PCI/ISA area, it's always mapped..
-        */
-       if (phys_addr >= 0xA0000 && last_addr < 0x100000)
-               return (void __iomem *)phys_to_virt(phys_addr);
-
        /*
         * If we're on an SH7751 or SH7780 PCI controller, PCI memory is
         * mapped at the end of the address space (typically 0xfd000000)