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:He Sheng <hesheng@wxiat.com> Reviewed-by:
Cui Wei <cuiwei@wxiat.com> Signed-off-by:
Gu Zitao <guzitao@wxiat.com>
Loading
Please sign in to comment