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

sw64: fix THREAD_INFO_IN_TASK support for suspend and hibernation

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I73KEV



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

Since CONFIG_THREAD_INFO_IN_TASK has been activated, the current
task pointer can not be caculated with sp. This patch saves it in
processor_state to make suspend and hibernation work.

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