sh: task_thread_info()
Subsystems (2)
PATCH 15/50 sh: task_thread_info()
References: <[email protected]>
In-Reply-To: <[email protected]>
Signed-off-by Al Viro <[email protected]>
---
arch/sh/kernel/process.c | 2 +- arch/sh/kernel/smp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
c19a555413fb82ae8f64754ae294bd32446c1677
arch/sh/kernel/process.c +1 -1
@@ -362,7 +362,7 @@ struct task_struct *__switch_to(struct t*/ asmvolatile ("ldc %0, r7_bank" :/* no output */ - :"r" (next->thread_info)); + :"r" (task_thread_info (next)));#ifdef CONFIG_MMU /* If no tasks are using the UBC, we're done */
arch/sh/kernel/smp.c +1 -1
@@ -103,7 +103,7 @@ int __cpu_up(unsigned int cpu)if (IS_ERR (tsk))panic ("Failed forking idle task for cpu %d\n" , cpu); - tsk->thread_info->cpu = cpu; +task_thread_info (tsk)->cpu = cpu;cpu_set (cpu, cpu_online_map);
Signature · 1 line
0.99.9.GIT