wrap access to thread_info
Recently a few direct accesses to the thread_info in the task structure snuck back, so this wraps them with the appropriate wrapper. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
e61a1c1c4f
commit
c9f4f06d31
@@ -560,7 +560,7 @@ void smtc_boot_secondary(int cpu, struct task_struct *idle)
|
||||
write_tc_gpr_sp(__KSTK_TOS(idle));
|
||||
|
||||
/* global pointer */
|
||||
write_tc_gpr_gp((unsigned long)idle->thread_info);
|
||||
write_tc_gpr_gp((unsigned long)task_thread_info(idle));
|
||||
|
||||
smtc_status |= SMTC_MTC_ACTIVE;
|
||||
write_tc_c0_tchalt(0);
|
||||
|
Reference in New Issue
Block a user