diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-01-12 04:05:45 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 12:08:53 -0500 |
commit | cafcfcaa60dbb5bcccbbc1d0ad7d4bdeeb4d0cc8 (patch) | |
tree | a3830f77e0d4de4393ce02fefe401a2edead8746 /arch/sh/kernel/smp.c | |
parent | 3cf0f4ece9f1680e54b154b1e38baaf6ace20a62 (diff) |
[PATCH] sh: task_thread_info()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sh/kernel/smp.c')
-rw-r--r-- | arch/sh/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 59e49b18252c..62c7d1c0ad7b 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c | |||
@@ -103,7 +103,7 @@ int __cpu_up(unsigned int cpu) | |||
103 | if (IS_ERR(tsk)) | 103 | if (IS_ERR(tsk)) |
104 | panic("Failed forking idle task for cpu %d\n", cpu); | 104 | panic("Failed forking idle task for cpu %d\n", cpu); |
105 | 105 | ||
106 | tsk->thread_info->cpu = cpu; | 106 | task_thread_info(tsk)->cpu = cpu; |
107 | 107 | ||
108 | cpu_set(cpu, cpu_online_map); | 108 | cpu_set(cpu, cpu_online_map); |
109 | 109 | ||