projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a2936
)
tile: expose number of page table levels
author
Kirill A. Shutemov
<
[email protected]
>
Tue, 14 Apr 2015 22:46:08 +0000
(15:46 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 14 Apr 2015 23:49:02 +0000
(16:49 -0700)
We would want to use number of page table level to define mm_struct.
Let's expose it as CONFIG_PGTABLE_LEVELS.
Signed-off-by: Kirill A. Shutemov <
[email protected]
>
Acked-by: Chris Metcalf <
[email protected]
>
Tested-by: Guenter Roeck <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/tile/Kconfig
patch
|
blob
|
history
diff --git
a/arch/tile/Kconfig
b/arch/tile/Kconfig
index 7cca41842a9e5acc9382f73896278f3404772eb3..0142d578b5a84d5277e7bdf81510aba80dc9ff9a 100644
(file)
--- a/
arch/tile/Kconfig
+++ b/
arch/tile/Kconfig
@@
-147,6
+147,11
@@
config ARCH_DEFCONFIG
default "arch/tile/configs/tilepro_defconfig" if !TILEGX
default "arch/tile/configs/tilegx_defconfig" if TILEGX
+config PGTABLE_LEVELS
+ int
+ default 3 if 64BIT
+ default 2
+
source "init/Kconfig"
source "kernel/Kconfig.freezer"