]> err.no Git - linux-2.6/blobdiff - arch/x86_64/mm/ioremap.c
[PATCH] uml: restore hppfs support
[linux-2.6] / arch / x86_64 / mm / ioremap.c
index 58aac23760efeb3e37aa76ab888e3e900b7ac667..6972df480d2b16f485c8dd5e40c96031e74d27fe 100644 (file)
@@ -178,7 +178,7 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l
        if (phys_addr >= ISA_START_ADDRESS && last_addr < ISA_END_ADDRESS)
                return (__force void __iomem *)phys_to_virt(phys_addr);
 
-#ifndef CONFIG_DISCONTIGMEM
+#ifdef CONFIG_FLATMEM
        /*
         * Don't allow anybody to remap normal RAM that we're using..
         */