From: Jeff Dike Date: Fri, 8 Jun 2007 20:46:49 +0000 (-0700) Subject: uml: fix kernel stack size on x86_64 X-Git-Tag: v2.6.22-rc5~81 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e80ad9b651abb7229551339081d7e53097bf8ea7;p=linux-2.6-omap-h63xx.git uml: fix kernel stack size on x86_64 Force KERNEL_STACK_ORDER to be at least 1 on UML/x86_64, to avoid overflows. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/Kconfig b/arch/um/Kconfig index c504312219b..e6ff3026654 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig @@ -278,6 +278,7 @@ config HIGHMEM config KERNEL_STACK_ORDER int "Kernel stack size order" default 1 if 64BIT + range 1 10 if 64BIT default 0 if !64BIT help This option determines the size of UML kernel stacks. They will