Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1380 → Rev 1379

/kernel/trunk/genarch/src/mm/asid.c
57,7 → 57,6
#include <mm/tlb.h>
#include <arch/mm/asid.h>
#include <synch/spinlock.h>
#include <synch/mutex.h>
#include <arch.h>
#include <adt/list.h>
#include <debug.h>
104,7 → 103,7
list_remove(tmp);
as = list_get_instance(tmp, as_t, inactive_as_with_asid_link);
mutex_lock_active(&as->lock);
spinlock_lock(&as->lock);
 
/*
* Steal the ASID.
118,7 → 117,7
* was stolen by invalidating its asid member.
*/
as->asid = ASID_INVALID;
mutex_unlock(&as->lock);
spinlock_unlock(&as->lock);
 
/*
* Get the system rid of the stolen ASID.