• Russell King's avatar
    [PATCH] ARM: Fix kernel stack offset calculations · 4f7a1812
    Russell King authored
    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>
    4f7a1812
processor.h 2.62 KB