]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/mm/init_64.c
x86: add early_memremap()
[linux-2.6-omap-h63xx.git] / arch / x86 / mm / init_64.c
index dec5c775e92b14208b3010c0744950c5b912ac0c..5beb89683453472b3aff8674888ef3528ac05fb8 100644 (file)
@@ -313,7 +313,7 @@ static __ref void *alloc_low_page(unsigned long *phys)
        if (pfn >= table_top)
                panic("alloc_low_page: ran out of memory");
 
-       adr = early_ioremap(pfn * PAGE_SIZE, PAGE_SIZE);
+       adr = early_memremap(pfn * PAGE_SIZE, PAGE_SIZE);
        memset(adr, 0, PAGE_SIZE);
        *phys  = pfn * PAGE_SIZE;
        return adr;