diff options
Diffstat (limited to 'arch/sparc64/kernel/process.c')
-rw-r--r-- | arch/sparc64/kernel/process.c | 4 |
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 | ||
391 | unsigned long thread_saved_pc(struct task_struct *tsk) | 391 | unsigned 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? */ |