summaryrefslogtreecommitdiff
path: root/src/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/include')
-rw-r--r--src/sys/include/sys/proc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/include/sys/proc.h b/src/sys/include/sys/proc.h
index c31cc4c..c5b0fda 100644
--- a/src/sys/include/sys/proc.h
+++ b/src/sys/include/sys/proc.h
@@ -36,6 +36,7 @@
#include <sys/param.h>
#include <sys/queue.h>
#include <os/mac.h>
+#include <os/spinlock.h>
#include <os/filedesc.h>
#include <vm/vm.h>
#include <machine/pcb.h> /* standard */
@@ -66,6 +67,7 @@ struct proc {
struct syscall_domain scdom;
struct filedesc *fdtab[FD_MAX];
mac_level_t level;
+ struct spinlock maplist_lock;
TAILQ_HEAD(, vm_range) maplist;
TAILQ_ENTRY(proc) link;
};