]> git.baikalelectronics.ru Git - kernel.git/commitdiff
[POWERPC] Adjust TASK_SIZE on ppc32 systems to 3GB that are capable
authorKumar Gala <galak@kernel.crashing.org>
Thu, 11 Oct 2007 18:40:21 +0000 (13:40 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 11 Oct 2007 18:40:21 +0000 (13:40 -0500)
All ppc32 systems except PReP and 8xx are capable of handling 3G of user
address space.  Old legacy had set this to 2GB and no one has bothered to
fix it.

8xx could be bumped up to 3GB if its SW TLB miss handlers were fixed up
to properly determine kernel/user addresses.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/Kconfig

index 31804575dd5e5811d530fdeee62412eb6de8b4bd..037664d496d7dffb72c78f54c47be83d130bb628 100644 (file)
@@ -599,7 +599,8 @@ config TASK_SIZE_BOOL
 
 config TASK_SIZE
        hex "Size of user task space" if TASK_SIZE_BOOL
-       default "0x80000000"
+       default "0x80000000" if PPC_PREP || PPC_8xx
+       default "0xc0000000"
 
 config CONSISTENT_START_BOOL
        bool "Set custom consistent memory pool address"