commit | 4f7a18124c1a44858fb74a1c4234015009952959 | [log] [tgz] |
---|---|---|
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | Thu May 05 13:11:00 2005 +0100 |
committer | Russell King <rmk@dyn-67.arm.linux.org.uk> | Thu May 05 13:11:00 2005 +0100 |
tree | 978f55875b776c83ebcfed24737784ac098d1a4e | |
parent | 897f5ab2cd733a77a2279268262919caa8154b9d [diff] |
[PATCH] ARM: Fix kernel stack offset calculations Various places in the ARM kernel implicitly assumed that kernel stacks are always 8K due to hard coded constants. Replace these constants with definitions. Correct the allowable range of kernel stack pointer values within the allocation. Arrange for the entire kernel stack to be zeroed, not just the upper 4K if CONFIG_DEBUG_STACK_USAGE is set. Signed-off-by: Russell King <rmk@arm.linux.org.uk>