arm64: fix STRICT_MM_TYPECHECKS issue in PTE_CONT manipulation
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 9 Nov 2015 08:55:45 +0000 (09:55 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 9 Nov 2015 14:23:16 +0000 (14:23 +0000)
commitb219545e9646e9d4089a74029c82ae59645e12ae
treea838127df77d75c34c92f9cf39d6b6724f19b298
parent14e589ff4aa3f28a5424e92b6495ecb8950080f7
arm64: fix STRICT_MM_TYPECHECKS issue in PTE_CONT manipulation

The new page table code that manipulates the PTE_CONT flags does so
in a way that is inconsistent with STRICT_MM_TYPECHECKS. Fix it by
using the correct combination of __pgprot() and pgprot_val().

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/mmu.c