git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2194478
)
sh: Disable 4kB stacks when using PAGE_SIZE_64KB.
author
Paul Mundt
<lethal@linux-sh.org>
Sat, 20 Sep 2008 11:16:35 +0000
(20:16 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Sat, 20 Sep 2008 11:16:35 +0000
(20:16 +0900)
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>
No differences found