commit | 3240dd57e533da94998029af6e17008a1806c665 | [log] [tgz] |
---|---|---|
author | Vineet Gupta <vgupta@synopsys.com> | Fri Feb 27 10:59:31 2015 +0530 |
committer | Vineet Gupta <vgupta@synopsys.com> | Fri Feb 27 10:59:34 2015 +0530 |
tree | f23ae90f1d3861c7f2d0dc8fb7a8c6b0c39c1948 | |
parent | 13648b0118a24f4fc76c34e6c7b6ccf447e46a2a [diff] |
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: Vineet Gupta <vgupta@synopsys.com>