summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/process.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 12:05:45 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 20:08:53 +0300
commitcafcfcaa60dbb5bcccbbc1d0ad7d4bdeeb4d0cc8 (patch)
treea3830f77e0d4de4393ce02fefe401a2edead8746 /arch/sh/kernel/process.c
parent3cf0f4ece9f1680e54b154b1e38baaf6ace20a62 (diff)
downloadlinux-cafcfcaa60dbb5bcccbbc1d0ad7d4bdeeb4d0cc8.tar.xz
[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/process.c')
-rw-r--r--arch/sh/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c
index 8c0060ce6c02..35415d0be39e 100644
--- a/arch/sh/kernel/process.c
+++ b/arch/sh/kernel/process.c
@@ -342,7 +342,7 @@ struct task_struct *__switch_to(struct task_struct *prev, struct task_struct *ne
*/
asm volatile("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 */