uml: fix kernel stack size on x86_64
authorJeff Dike <jdike@addtoit.com>
Fri, 8 Jun 2007 20:46:49 +0000 (13:46 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 9 Jun 2007 00:23:33 +0000 (17:23 -0700)
Force KERNEL_STACK_ORDER to be at least 1 on UML/x86_64, to avoid overflows.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/Kconfig

index c504312219b42b8f9797c50fe1569e5f05163a84..e6ff30266542a79b8909a5ef5f4e7991e58e16ca 100644 (file)
@@ -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