diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-06-08 16:46:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-08 20:23:33 -0400 |
commit | e80ad9b651abb7229551339081d7e53097bf8ea7 (patch) | |
tree | 5aeef27f28b62372ef67478dd530569fc422a29c /arch/um/Kconfig | |
parent | 272c1d21d6fe42979068e14c04fb60fb6045ad74 (diff) |
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 <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/Kconfig')
-rw-r--r-- | arch/um/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/Kconfig b/arch/um/Kconfig index c504312219b4..e6ff30266542 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig | |||
@@ -278,6 +278,7 @@ config HIGHMEM | |||
278 | config KERNEL_STACK_ORDER | 278 | config KERNEL_STACK_ORDER |
279 | int "Kernel stack size order" | 279 | int "Kernel stack size order" |
280 | default 1 if 64BIT | 280 | default 1 if 64BIT |
281 | range 1 10 if 64BIT | ||
281 | default 0 if !64BIT | 282 | default 0 if !64BIT |
282 | help | 283 | help |
283 | This option determines the size of UML kernel stacks. They will | 284 | This option determines the size of UML kernel stacks. They will |