linux/arch/sh
Paul Mundt b817f7e020 sh: Disable 4kB stacks when using PAGE_SIZE_64KB.
This combination triggers a divide by zero in kernel/fork.c when
calculating the initial max_threads value:

	max_threads = mempages / (8 * THREAD_SIZE / PAGE_SIZE);

Simply disable 4K stacks on 64kB PAGE_SIZE to work around this,
as it's not a terribly useful combination to begin with.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-09-20 20:16:35 +09:00
..
boards sh: edosk7760 physmap-flash support. 2008-09-12 18:07:16 +09:00
boot sh: Add the rest of the boot targets to arch/sh/boot/.gitignore. 2008-09-08 10:35:05 +09:00
cchips sh: Kill off more dead symbols. 2008-02-14 14:22:12 +09:00
configs sh: update edosk7760 defconfig for physmap-flash. 2008-09-12 18:08:01 +09:00
drivers sh: Move out the solution engine headers to arch/sh/include/mach-se/ 2008-07-29 21:41:37 +09:00
include sh: Fix up headers_check regression. 2008-09-17 23:24:59 +09:00
kernel sh: Fix up signal_64 conflicting handle_signal() definition. 2008-09-17 23:14:36 +09:00
lib sh: fixup many sparse errors. 2008-09-08 10:35:04 +09:00
lib64 sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: Make memory hot-add and hot-remove depend on MMU. 2008-09-17 23:13:27 +09:00
oprofile sh: Add -Werror for clean directories. 2007-11-07 11:13:55 +09:00
tools sh: Add EDOSK7760 mach type. 2008-09-08 12:01:55 +09:00
Kconfig sh: HAVE_IOREMAP_PROT depends on MMU. 2008-09-17 23:26:44 +09:00
Kconfig.cpu sh: Disable big endian for SH-5. 2008-02-14 14:22:10 +09:00
Kconfig.debug sh: Disable 4kB stacks when using PAGE_SIZE_64KB. 2008-09-20 20:16:35 +09:00
Makefile sh: Provide a fixed UTS_MACHINE definition for sh64. 2008-09-12 18:58:28 +09:00