Changeset 1068f6a in mainline for genarch/src/mm/asid.c


Ignore:
Timestamp:
2006-05-20T19:32:06Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c1982e45
Parents:
9ea6cc5
Message:

Turn address space lock, address space area lock and
page_ht_lock into mutexes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • genarch/src/mm/asid.c

    r9ea6cc5 r1068f6a  
    5858#include <arch/mm/asid.h>
    5959#include <synch/spinlock.h>
     60#include <synch/mutex.h>
    6061#include <arch.h>
    6162#include <adt/list.h>
     
    104105               
    105106                as = list_get_instance(tmp, as_t, inactive_as_with_asid_link);
    106                 spinlock_lock(&as->lock);
     107                mutex_lock_active(&as->lock);
    107108
    108109                /*
     
    118119                 */
    119120                as->asid = ASID_INVALID;
    120                 spinlock_unlock(&as->lock);
     121                mutex_unlock(&as->lock);
    121122
    122123                /*
Note: See TracChangeset for help on using the changeset viewer.