diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-05-08 02:27:28 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-09 02:35:00 -0400 |
commit | 16c2d476232523260c495eafbf9cdc1be984b7df (patch) | |
tree | fb6614b9752b51864e121317478088978823792c /arch/powerpc/Kconfig | |
parent | d0f13e3c20b6fb73ccb467bdca97fa7cf5a574cd (diff) |
[POWERPC] Add ability to 4K kernel to hash in 64K pages
This adds the ability for a kernel compiled with 4K page size
to have special slices containing 64K pages and hash the right type
of hash PTEs.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 5226f701634e..ecd459dd1baf 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -546,9 +546,15 @@ config NODES_SPAN_OTHER_NODES | |||
546 | def_bool y | 546 | def_bool y |
547 | depends on NEED_MULTIPLE_NODES | 547 | depends on NEED_MULTIPLE_NODES |
548 | 548 | ||
549 | config PPC_HAS_HASH_64K | ||
550 | bool | ||
551 | depends on PPC64 | ||
552 | default n | ||
553 | |||
549 | config PPC_64K_PAGES | 554 | config PPC_64K_PAGES |
550 | bool "64k page size" | 555 | bool "64k page size" |
551 | depends on PPC64 | 556 | depends on PPC64 |
557 | select PPC_HAS_HASH_64K | ||
552 | help | 558 | help |
553 | This option changes the kernel logical page size to 64k. On machines | 559 | This option changes the kernel logical page size to 64k. On machines |
554 | without processor support for 64k pages, the kernel will simulate | 560 | without processor support for 64k pages, the kernel will simulate |