Commit 8f4d572d authored by He Sheng's avatar He Sheng Committed by guzitao
Browse files

sw64: init sp with kernel stack top for idle thread

Sunway inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5PNF1



--------------------------------

For secondary CPU, it has to do ($sp - THREAD_SIZE) to find current
thread_info.

Signed-off-by: default avatarHe Sheng <hesheng@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 9a8c09fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment