• Vineet Gupta's avatar
    ARC: Fix thread_saved_pc() · 3240dd57
    Vineet Gupta authored
    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: default avatarVineet Gupta <vgupta@synopsys.com>
    3240dd57
process.c 5.36 KB