- 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:
stefan 2010-08-04 17:20:44 +00:00
parent 9839840e89
commit a8f684af9c

View file

@ -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 */