Skip to content
Commit 3240dd57 authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: Fix thread_saved_pc()



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>
parent 13648b01
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment