summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 01:05:46 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 09:08:53 -0800
commitd562ef6a23feb72f32ebd23fb32fe7d2c35a85cd (patch)
tree3ee5db91cee3b52c6ba1a07a8f487bfe3df0d095 /include/asm-sparc
parent308a792f7c563a7af6e325274c63812f98988d6f (diff)
downloadlinux-d562ef6a23feb72f32ebd23fb32fe7d2c35a85cd.tar.gz
linux-d562ef6a23feb72f32ebd23fb32fe7d2c35a85cd.tar.bz2
linux-d562ef6a23feb72f32ebd23fb32fe7d2c35a85cd.zip
[PATCH] sparc: 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 'include/asm-sparc')
-rw-r--r--include/asm-sparc/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc/system.h b/include/asm-sparc/system.h
index 52fe2e464e15..58dd162927bb 100644
--- a/include/asm-sparc/system.h
+++ b/include/asm-sparc/system.h
@@ -155,7 +155,7 @@ extern void fpsave(unsigned long *fpregs, unsigned long *fsr,
"here:\n" \
: "=&r" (last) \
: "r" (&(current_set[hard_smp_processor_id()])), \
- "r" ((next)->thread_info), \
+ "r" (task_thread_info(next)), \
"i" (TI_KPSR), \
"i" (TI_KSP), \
"i" (TI_TASK) \