• R
    [PATCH] ARM: Fix kernel stack offset calculations · 4f7a1812
    Russell King 提交于
    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: NRussell King <rmk@arm.linux.org.uk>
    4f7a1812
process.c 10.6 KB