aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/kernel/process.c')
-rw-r--r--arch/xtensa/kernel/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/kernel/process.c b/arch/xtensa/kernel/process.c
index 5bbfed81c97b..e0ded48561db 100644
--- a/arch/xtensa/kernel/process.c
+++ b/arch/xtensa/kernel/process.c
@@ -115,10 +115,10 @@ void arch_cpu_idle(void)
115/* 115/*
116 * This is called when the thread calls exit(). 116 * This is called when the thread calls exit().
117 */ 117 */
118void exit_thread(void) 118void exit_thread(struct task_struct *tsk)
119{ 119{
120#if XTENSA_HAVE_COPROCESSORS 120#if XTENSA_HAVE_COPROCESSORS
121 coprocessor_release_all(current_thread_info()); 121 coprocessor_release_all(task_thread_info(tsk));
122#endif 122#endif
123} 123}
124 124