Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / arch / arm64 / mm / mmu.c
index d77bf06..acfae9b 100644 (file)
@@ -96,7 +96,8 @@ static phys_addr_t __init early_pgtable_alloc(int shift)
        phys_addr_t phys;
        void *ptr;
 
-       phys = memblock_phys_alloc(PAGE_SIZE, PAGE_SIZE);
+       phys = memblock_phys_alloc_range(PAGE_SIZE, PAGE_SIZE, 0,
+                                        MEMBLOCK_ALLOC_NOLEAKTRACE);
        if (!phys)
                panic("Failed to allocate page table page\n");