• V
    ARC: Fix thread_saved_pc() · 3240dd57
    Vineet Gupta 提交于
    The old implementation assumed that SP at the time of __switch_to() is
    right above pt_regs which is almost certainly not the case as there will
    be some stack build up between entry into kernel and leading up to
    __switch_to
    Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
    3240dd57
process.c 5.4 KB