]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: mm: Use #ifdef for the __PAGETABLE_P?D_FOLDED defines
authorJames Morse <james.morse@arm.com>
Fri, 5 Oct 2018 13:49:16 +0000 (14:49 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 5 Oct 2018 16:19:40 +0000 (17:19 +0100)
commit0e250d29eae184b98aa31c1a33c107e109eb20a0
tree43c4696f00d28695fe57c24d0c0adaf613ed463e
parente909290117e8489b1472c1fe38a82e65697ef68a
arm64: mm: Use #ifdef for the __PAGETABLE_P?D_FOLDED defines

__is_defined(__PAGETABLE_P?D_FOLDED) doesn't quite work as intended
as these symbols are internal to asm-generic and aren't defined in the
way kconfig expects. This makes them always evaluate to false.
Switch to #ifdef.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/pgtable.h