exit_thread: accept a task parameter to be exited
[deliverable/linux.git] / arch / xtensa / kernel / process.c
index 5bbfed81c97be65eef96a68935a6c5fc672c2087..e0ded48561db5857f5d3480ffcb2e0cfcd266011 100644 (file)
@@ -115,10 +115,10 @@ void arch_cpu_idle(void)
 /*
  * This is called when the thread calls exit().
  */
-void exit_thread(void)
+void exit_thread(struct task_struct *tsk)
 {
 #if XTENSA_HAVE_COPROCESSORS
-       coprocessor_release_all(current_thread_info());
+       coprocessor_release_all(task_thread_info(tsk));
 #endif
 }
 
This page took 0.043355 seconds and 5 git commands to generate.