mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
[ 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
28a3b553dd
commit
ba38c3e788
@@ -9,7 +9,7 @@
|
||||
#else
|
||||
#include <asm-generic/pgtable-nop4d.h>
|
||||
|
||||
#define __PAGETABLE_PUD_FOLDED
|
||||
#define __PAGETABLE_PUD_FOLDED 1
|
||||
|
||||
/*
|
||||
* Having the pud type consist of a p4d gets the size right, and allows
|
||||
|
||||
Reference in New Issue
Block a user