aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/process_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/process_64.c')
-rw-r--r--arch/sparc/kernel/process_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/process_64.c b/arch/sparc/kernel/process_64.c
index c16ef1af1843..fa14402b33f9 100644
--- a/arch/sparc/kernel/process_64.c
+++ b/arch/sparc/kernel/process_64.c
@@ -417,9 +417,9 @@ unsigned long thread_saved_pc(struct task_struct *tsk)
417} 417}
418 418
419/* Free current thread data structures etc.. */ 419/* Free current thread data structures etc.. */
420void exit_thread(void) 420void exit_thread(struct task_struct *tsk)
421{ 421{
422 struct thread_info *t = current_thread_info(); 422 struct thread_info *t = task_thread_info(tsk);
423 423
424 if (t->utraps) { 424 if (t->utraps) {
425 if (t->utraps[0] < 2) 425 if (t->utraps[0] < 2)