Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3033 → Rev 3014

/branches/tracing/kernel/generic/src/ipc/ipc.c
801,14 → 801,6
}
 
spinlock_lock(&ta->kb_cleanup_lock);
 
if (ta->kb_finished != false) {
spinlock_unlock(&ta->kb_cleanup_lock);
spinlock_unlock(&tasks_lock);
interrupts_restore(ipl);
return EINVAL;
}
 
spinlock_unlock(&tasks_lock);
 
/*
818,6 → 810,12
* mutual exclusion with other threads running this function.
*/
 
if (ta->kb_finished != false) {
spinlock_unlock(&ta->kb_cleanup_lock);
interrupts_restore(ipl);
return EINVAL;
}
 
/* Connect the newly allocated phone to the kbox */
ipc_phone_connect(&TASK->phones[newphid], &ta->kernel_box);