mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 31 Oct 2018 11:11:48 +0000 (12:11 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 2 Nov 2018 07:31:52 +0000 (08:31 +0100)
commita8874e7e8a8896f2b6c641f4b8e2473eafd35204
tree31596982afc3de610b65d366b3b96d667743ee2a
parent5a2e1853d68904c4b26706dba2884cbeb77bc3ee
mm: make the __PAGETABLE_PxD_FOLDED defines non-empty

Change the currently empty defines for __PAGETABLE_PMD_FOLDED,
__PAGETABLE_PUD_FOLDED and __PAGETABLE_P4D_FOLDED to return 1.
This makes it possible to use __is_defined() to test if the
preprocessor define exists.

Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/arm/include/asm/pgtable-2level.h
arch/m68k/include/asm/pgtable_mm.h
arch/microblaze/include/asm/pgtable.h
arch/nds32/include/asm/pgtable.h
arch/parisc/include/asm/pgtable.h
include/asm-generic/4level-fixup.h
include/asm-generic/5level-fixup.h
include/asm-generic/pgtable-nop4d-hack.h
include/asm-generic/pgtable-nop4d.h
include/asm-generic/pgtable-nopmd.h
include/asm-generic/pgtable-nopud.h