arm64: mm: remove pointless PAGE_MASKing
authorMark Rutland <mark.rutland@arm.com>
Wed, 9 Dec 2015 12:44:36 +0000 (12:44 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 10 Dec 2015 17:36:08 +0000 (17:36 +0000)
commite2c30ee320eb96304896c7ab84499e5bc5e5fb6e
tree661651347412863d69444aec0b4c8204251e3196
parent49003a8d6b35e128ef5e51433e60e783a46fbe5f
arm64: mm: remove pointless PAGE_MASKing

As pgd_offset{,_k} shift the input address by PGDIR_SHIFT, the sub-page
bits will always be shifted out. There is no need to apply PAGE_MASK
before this.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Jeremy Linton <jeremy.linton@arm.com>
Cc: Laura Abbott <labbott@fedoraproject.org>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/mmu.c
This page took 0.027632 seconds and 5 git commands to generate.