- remove type in join_kernel_tasks (typo in if-clause)
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@37 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
parent
9839840e89
commit
a8f684af9c
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ int join_kernel_task(tid_t id, void** result)
|
|||
* idle tasks are not allowed to wait for another task
|
||||
* they should always run...
|
||||
*/
|
||||
if (BUILTIN_EXPECT(current_task->status, TASK_IDLE))
|
||||
if (BUILTIN_EXPECT(current_task->status == TASK_IDLE, 0))
|
||||
goto join_out;
|
||||
|
||||
/* a task is not able to wait for itself */
|
||||
|
|
Loading…
Add table
Reference in a new issue