Skip to content
Commit 4f7a1812 authored by Russell King's avatar Russell King
Browse files

[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: default avatarRussell King <rmk@arm.linux.org.uk>
parent 897f5ab2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment