diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-10-31 12:11:48 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-11-02 08:31:52 +0100 |
commit | a8874e7e8a8896f2b6c641f4b8e2473eafd35204 (patch) | |
tree | 31596982afc3de610b65d366b3b96d667743ee2a /arch/microblaze/include/asm | |
parent | s390: avoid vmlinux segments overlap (diff) | |
download | linux-a8874e7e8a8896f2b6c641f4b8e2473eafd35204.tar.xz linux-a8874e7e8a8896f2b6c641f4b8e2473eafd35204.zip |
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>
Diffstat (limited to 'arch/microblaze/include/asm')
-rw-r--r-- | arch/microblaze/include/asm/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/pgtable.h b/arch/microblaze/include/asm/pgtable.h index f64ebb9c9a41..e14b6621c933 100644 --- a/arch/microblaze/include/asm/pgtable.h +++ b/arch/microblaze/include/asm/pgtable.h @@ -63,7 +63,7 @@ extern int mem_init_done; #include <asm-generic/4level-fixup.h> -#define __PAGETABLE_PMD_FOLDED +#define __PAGETABLE_PMD_FOLDED 1 #ifdef __KERNEL__ #ifndef __ASSEMBLY__ |