[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>
This commit is contained in:
@@ -390,7 +390,7 @@ void show_regs32(struct pt_regs32 *regs)
|
||||
|
||||
unsigned long thread_saved_pc(struct task_struct *tsk)
|
||||
{
|
||||
struct thread_info *ti = tsk->thread_info;
|
||||
struct thread_info *ti = task_thread_info(tsk);
|
||||
unsigned long ret = 0xdeadbeefUL;
|
||||
|
||||
if (ti && ti->ksp) {
|
||||
@@ -847,7 +847,7 @@ unsigned long get_wchan(struct task_struct *task)
|
||||
|
||||
thread_info_base = (unsigned long) task->thread_info;
|
||||
bias = STACK_BIAS;
|
||||
fp = task->thread_info->ksp + bias;
|
||||
fp = task_thread_info(task)->ksp + bias;
|
||||
|
||||
do {
|
||||
/* Bogus frame pointer? */
|
||||
|
Reference in New Issue
Block a user