mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-02-23 21:28:26 +00:00

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>