summaryrefslogtreecommitdiff
path: root/libc-parts/process-spawn.c
diff options
context:
space:
mode:
authorneal <neal>2008-02-16 10:21:54 +0000
committerneal <neal>2008-02-16 10:21:54 +0000
commitde89a198035cc2c0d52688f804bf2b348b3dc493 (patch)
tree73c4dc547124cf833002f6e121c86282aefa1213 /libc-parts/process-spawn.c
parent0c384ad5fc859424b2f115804831376b0aeb074b (diff)
viengoos/
2008-02-16 Neal H. Walfield <neal@gnu.org> * object.h (kernel_lock): New declaration. Replace current locking scheme with this global lock variable. (lru_lock): Remove variable. (struct object_desc): Remove field lock. * object.c (kernel_lock): New variable. libc-parts/ 2008-02-16 Neal H. Walfield <neal@gnu.org> * process-spawn.c (process_spawn) [RM_INTERN]: Don't take LRU_LOCK.
Diffstat (limited to 'libc-parts/process-spawn.c')
-rw-r--r--libc-parts/process-spawn.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc-parts/process-spawn.c b/libc-parts/process-spawn.c
index 84006fc..7b734cf 100644
--- a/libc-parts/process-spawn.c
+++ b/libc-parts/process-spawn.c
@@ -451,12 +451,10 @@ process_spawn (addr_t activity,
/* We know that we are the only one who can access the data
structure, however, the object_claim asserts that this lock is
held. */
- ss_mutex_lock (&lru_lock);
object_claim (root_activity, (struct object *) root_activity,
OBJECT_POLICY_VOID, true);
object_claim (root_activity, (struct object *) folio_local_addr,
OBJECT_POLICY_VOID, true);
- ss_mutex_unlock (&lru_lock);
#else
struct hurd_object_desc *desc;
struct cap cap;