projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exit_thread: accept a task parameter to be exited
[deliverable/linux.git]
/
arch
/
metag
/
kernel
/
process.c
diff --git
a/arch/metag/kernel/process.c
b/arch/metag/kernel/process.c
index 7f546183a0f026385354abb547235d8f397255ac..35062796edf222e70b422a8750fe46f605073ebd 100644
(file)
--- a/
arch/metag/kernel/process.c
+++ b/
arch/metag/kernel/process.c
@@
-345,10
+345,10
@@
void flush_thread(void)
/*
* Free current thread data structures etc.
*/
/*
* Free current thread data structures etc.
*/
-void exit_thread(
void
)
+void exit_thread(
struct task_struct *tsk
)
{
{
- clear_fpu(&
current
->thread);
- clear_dsp(&
current
->thread);
+ clear_fpu(&
tsk
->thread);
+ clear_dsp(&
tsk
->thread);
}
/* TODO: figure out how to unwind the kernel stack here to figure out
}
/* TODO: figure out how to unwind the kernel stack here to figure out
This page took
0.024265 seconds
and
5
git commands to generate.