diff options
author | bde <bde@FreeBSD.org> | 1997-02-18 14:07:03 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-02-18 14:07:03 +0000 |
commit | 6a229a98d5d18fdd2a27574f7631d07678842328 (patch) | |
tree | da7d2f285453ffe6137ac1374aefbc92996e8405 /sys/vm/vm_map.h | |
parent | 1334b94f00f7e3289e4bf07ed1072779422dc443 (diff) | |
download | FreeBSD-src-6a229a98d5d18fdd2a27574f7631d07678842328.zip FreeBSD-src-6a229a98d5d18fdd2a27574f7631d07678842328.tar.gz |
Removed vestiges of Mach lock types.
vm_map.h:
Removed #include of <sys/proc.h>. curproc is only used in some macros
and users of the macros already include <sys/proc.h>.
Diffstat (limited to 'sys/vm/vm_map.h')
-rw-r--r-- | sys/vm/vm_map.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h index 1c55c57..19dfaa7 100644 --- a/sys/vm/vm_map.h +++ b/sys/vm/vm_map.h @@ -133,7 +133,7 @@ struct vm_map { vm_size_t size; /* virtual size */ boolean_t is_main_map; /* Am I a main map? */ int ref_count; /* Reference count */ - simple_lock_data_t ref_lock; /* Lock for ref_count field */ + struct simplelock ref_lock; /* Lock for ref_count field */ vm_map_entry_t hint; /* hint for quick lookups */ vm_map_entry_t first_free; /* First free space hint */ boolean_t entries_pageable; /* map entries pageable?? */ @@ -188,8 +188,6 @@ typedef struct { * Perform locking on the data portion of a map. */ -#include <sys/proc.h> /* XXX for curproc and p_pid */ - #define vm_map_lock_drain_interlock(map) { \ lockmgr(&(map)->lock, LK_DRAIN|LK_INTERLOCK, \ &(map)->ref_lock, curproc); \ |