summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2018-10-31 12:11:48 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-11-02 08:31:52 +0100
commita8874e7e8a8896f2b6c641f4b8e2473eafd35204 (patch)
tree31596982afc3de610b65d366b3b96d667743ee2a /arch/m68k
parent5a2e1853d68904c4b26706dba2884cbeb77bc3ee (diff)
downloadlinux-0-day-a8874e7e8a8896f2b6c641f4b8e2473eafd35204.tar.gz
linux-0-day-a8874e7e8a8896f2b6c641f4b8e2473eafd35204.tar.xz
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/m68k')
-rw-r--r--arch/m68k/include/asm/pgtable_mm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/pgtable_mm.h b/arch/m68k/include/asm/pgtable_mm.h
index 6181e4134483c..fe3ddd73a0ccb 100644
--- a/arch/m68k/include/asm/pgtable_mm.h
+++ b/arch/m68k/include/asm/pgtable_mm.h
@@ -55,12 +55,12 @@
*/
#ifdef CONFIG_SUN3
#define PTRS_PER_PTE 16
-#define __PAGETABLE_PMD_FOLDED
+#define __PAGETABLE_PMD_FOLDED 1
#define PTRS_PER_PMD 1
#define PTRS_PER_PGD 2048
#elif defined(CONFIG_COLDFIRE)
#define PTRS_PER_PTE 512
-#define __PAGETABLE_PMD_FOLDED
+#define __PAGETABLE_PMD_FOLDED 1
#define PTRS_PER_PMD 1
#define PTRS_PER_PGD 1024
#else