aboutsummaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 7db1f3d2..0ac7c535 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -342,7 +342,7 @@ void thread_init(void)
/* thread_template.sched_stamp (later) */
thread_template.recover = (vm_offset_t) 0;
- thread_template.vm_privilege = FALSE;
+ thread_template.vm_privilege = 0;
thread_template.user_stop_count = 1;
@@ -2233,11 +2233,11 @@ thread_wire(
thread_lock(thread);
if (wired) {
- thread->vm_privilege = TRUE;
+ thread->vm_privilege = 1;
stack_privilege(thread);
}
else {
- thread->vm_privilege = FALSE;
+ thread->vm_privilege = 0;
/*XXX stack_unprivilege(thread); */
thread->stack_privilege = 0;
}