diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2015-04-14 18:45:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-14 19:49:02 -0400 |
commit | 980d5b7387c6bbc9b411a3469274b3226b161e45 (patch) | |
tree | 6babd3687881ebac2ac1ea2af4d9ebe8d5ebf378 /arch | |
parent | 4d66bcc7cf762e82703b94d416245d4a216c79ae (diff) |
m68k: mark PMD folded and expose number of page table levels
We would want to use number of page table level to define mm_struct.
Let's expose it as CONFIG_PGTABLE_LEVELS.
Core mm expects __PAGETABLE_{PUD,PMD}_FOLDED to be defined if these page
table levels folded.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68k/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 87b7c7581b1d..2dd8f63bfbbb 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig | |||
@@ -67,6 +67,10 @@ config HZ | |||
67 | default 1000 if CLEOPATRA | 67 | default 1000 if CLEOPATRA |
68 | default 100 | 68 | default 100 |
69 | 69 | ||
70 | config PGTABLE_LEVELS | ||
71 | default 2 if SUN3 || COLDFIRE | ||
72 | default 3 | ||
73 | |||
70 | source "init/Kconfig" | 74 | source "init/Kconfig" |
71 | 75 | ||
72 | source "kernel/Kconfig.freezer" | 76 | source "kernel/Kconfig.freezer" |