diff options
author | Michal Simek <monstr@monstr.eu> | 2010-02-08 10:41:38 -0500 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-03-23 04:28:18 -0400 |
commit | 95b0f9ea66661681f6ae081ea28416744d622c07 (patch) | |
tree | c4d387b9e4a5add47945be3036c7e5682ea5330c /arch/microblaze/Kconfig | |
parent | 3a1d26769f61fe8a1f517a66dfcee935a76fd61c (diff) |
microblaze: Improve TLB calculation for small systems
Systems with small amount of memory need to be handled
differently. Linux can't allocate the whole 32MB with two TLBs
because then there is no MMU protection.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/Kconfig')
-rw-r--r-- | arch/microblaze/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 86ae27871f41..d64c10093b40 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig | |||
@@ -259,6 +259,10 @@ config MICROBLAZE_32K_PAGES | |||
259 | 259 | ||
260 | endchoice | 260 | endchoice |
261 | 261 | ||
262 | config KERNEL_PAD | ||
263 | hex "Kernel PAD for unpacking" if ADVANCED_OPTIONS | ||
264 | default "0x80000" if MMU | ||
265 | |||
262 | endmenu | 266 | endmenu |
263 | 267 | ||
264 | source "mm/Kconfig" | 268 | source "mm/Kconfig" |