summaryrefslogtreecommitdiffstats
path: root/arch/nds32
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2018-10-31 12:11:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-29 13:37:57 +0100
commitba38c3e788384aa7210340f9c54eceab00c3b31c (patch)
treedbfbc595a4cc429791085b1c17490b0311662b07 /arch/nds32
parent28a3b553dd31ae447979eec0da7b9e9c83e5d6ee (diff)
downloadlinux-stable-ba38c3e788384aa7210340f9c54eceab00c3b31c.tar.gz
linux-stable-ba38c3e788384aa7210340f9c54eceab00c3b31c.tar.bz2
linux-stable-ba38c3e788384aa7210340f9c54eceab00c3b31c.zip
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>
Diffstat (limited to 'arch/nds32')
-rw-r--r--arch/nds32/include/asm/pgtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/include/asm/pgtable.h b/arch/nds32/include/asm/pgtable.h
index d3e19a55cf53..9f52db930c00 100644
--- a/arch/nds32/include/asm/pgtable.h
+++ b/arch/nds32/include/asm/pgtable.h
@@ -4,7 +4,7 @@
#ifndef _ASMNDS32_PGTABLE_H
#define _ASMNDS32_PGTABLE_H
-#define __PAGETABLE_PMD_FOLDED
+#define __PAGETABLE_PMD_FOLDED 1
#include <asm-generic/4level-fixup.h>
#include <asm-generic/sizes.h>