aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/process.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 04:05:42 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 12:08:52 -0500
commitf3169641c12d2c5abdab863f5393a3f3534788dd (patch)
treea455f38f7ac748c3e334d1105d16a0f94a4c0e57 /arch/sparc64/kernel/process.c
parent65e0fdffc977e69a8f1f26d4bf8ba30984db7e44 (diff)
[PATCH] sparc64: 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/sparc64/kernel/process.c')
-rw-r--r--arch/sparc64/kernel/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/process.c b/arch/sparc64/kernel/process.c
index 02f9dec1d459..1bc772477079 100644
--- a/arch/sparc64/kernel/process.c
+++ b/arch/sparc64/kernel/process.c
@@ -390,7 +390,7 @@ void show_regs32(struct pt_regs32 *regs)
390 390
391unsigned long thread_saved_pc(struct task_struct *tsk) 391unsigned long thread_saved_pc(struct task_struct *tsk)
392{ 392{
393 struct thread_info *ti = tsk->thread_info; 393 struct thread_info *ti = task_thread_info(tsk);
394 unsigned long ret = 0xdeadbeefUL; 394 unsigned long ret = 0xdeadbeefUL;
395 395
396 if (ti && ti->ksp) { 396 if (ti && ti->ksp) {
@@ -847,7 +847,7 @@ unsigned long get_wchan(struct task_struct *task)
847 847
848 thread_info_base = (unsigned long) task->thread_info; 848 thread_info_base = (unsigned long) task->thread_info;
849 bias = STACK_BIAS; 849 bias = STACK_BIAS;
850 fp = task->thread_info->ksp + bias; 850 fp = task_thread_info(task)->ksp + bias;
851 851
852 do { 852 do {
853 /* Bogus frame pointer? */ 853 /* Bogus frame pointer? */