]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit224ab512a9550e56a93ebe32221550ff26b44d0a
tree1b38f59c7dc90d0a90071da66a3b84b7bd1fa9aa
parentfc708bc1e7df54a82d8c2535baf515d57f8fec20
mm: make the __PAGETABLE_PxD_FOLDED defines non-empty

BugLink: https://bugs.launchpad.net/bugs/1837257
[ Upstream commit a8874e7e8a8896f2b6c641f4b8e2473eafd35204 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
12 files changed:
arch/arm/include/asm/pgtable-2level.h
arch/frv/include/asm/pgtable.h
arch/m68k/include/asm/pgtable_mm.h
arch/microblaze/include/asm/pgtable.h
arch/mn10300/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