Message ID | 20160311104441.GA27733@e104818-lin.cambridge.arm.com |
---|---|
State | New |
Headers | show |
diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c index d2d8b8c2e17f..c0f61235a6ec 100644 --- a/arch/arm64/mm/mmu.c +++ b/arch/arm64/mm/mmu.c @@ -642,8 +642,8 @@ int __meminit vmemmap_populate(unsigned long start, unsigned long end, int node) return -ENOMEM; set_pmd(pmd, __pmd(__pa(p) | PROT_SECT_NORMAL)); - } else - vmemmap_verify((pte_t *)pmd, node, addr, next); + } + vmemmap_verify((pte_t *)pmd, node, addr, next); } while (addr = next, addr != end); return 0;