This commit is contained in:
Olaf Rempel 2008-04-26 13:36:08 +02:00
parent e6155fb7ad
commit d50c024cbd
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ void isr_spinlock_unlock(struct spinlock *lock)
{
current_context->priority = lock->priority_unlocked;
lock->locked = 0;
// TODO: check for context-switch...
}