Message ID | 1448285180-15389-2-git-send-email-mark.rutland@arm.com |
---|---|
State | New |
Headers | show |
diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c index 2250d89..c22a717 100644 --- a/arch/arm64/mm/mmu.c +++ b/arch/arm64/mm/mmu.c @@ -307,6 +307,7 @@ static void __create_mapping(struct mm_struct *mm, pgd_t *pgd, if (WARN_ON((phys ^ virt) & ~PAGE_MASK)) return; + phys &= PAGE_MASK; addr = virt & PAGE_MASK; length = PAGE_ALIGN(size + (virt & ~PAGE_MASK));