-
由 He Chuyue 提交于
Sunway inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6ILGG -------------------------------- Since CONFIG_THREAD_INFO_IN_TASK has been activated, init_thread_info and __current_thread_info are removed, and compile errors occur if CONFIG_DYNAMIC_FTRACE=y or CONFIG_RELOCATABLE=y. This patch replaces init_thread_info with task_thread_info(&init_task) and fixes the method to relocate task pointer and stack pointer to new kernel image for kaslr. Signed-off-by: NHe Chuyue <hechuyue@wxiat.com> Reviewed-by: NHe Sheng <hesheng@wxiat.com> Signed-off-by: NGu Zitao <guzitao@wxiat.com>
7cf73995