aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/process.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 04:05:46 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 12:08:53 -0500
commitd562ef6a23feb72f32ebd23fb32fe7d2c35a85cd (patch)
tree3ee5db91cee3b52c6ba1a07a8f487bfe3df0d095 /arch/sparc/kernel/process.c
parent308a792f7c563a7af6e325274c63812f98988d6f (diff)
[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 'arch/sparc/kernel/process.c')
-rw-r--r--arch/sparc/kernel/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/process.c b/arch/sparc/kernel/process.c
index ea8647411462..7eebb08a953a 100644
--- a/arch/sparc/kernel/process.c
+++ b/arch/sparc/kernel/process.c
@@ -337,7 +337,7 @@ EXPORT_SYMBOL(dump_stack);
337 */ 337 */
338unsigned long thread_saved_pc(struct task_struct *tsk) 338unsigned long thread_saved_pc(struct task_struct *tsk)
339{ 339{
340 return tsk->thread_info->kpc; 340 return task_thread_info(tsk)->kpc;
341} 341}
342 342
343/* 343/*
@@ -724,7 +724,7 @@ unsigned long get_wchan(struct task_struct *task)
724 task->state == TASK_RUNNING) 724 task->state == TASK_RUNNING)
725 goto out; 725 goto out;
726 726
727 fp = task->thread_info->ksp + bias; 727 fp = task_thread_info(task)->ksp + bias;
728 do { 728 do {
729 /* Bogus frame pointer? */ 729 /* Bogus frame pointer? */
730 if (fp < (task_base + sizeof(struct thread_info)) || 730 if (fp < (task_base + sizeof(struct thread_info)) ||