diff options
author | David Hill <dhill@cvs.openbsd.org> | 2011-07-05 03:10:30 +0000 |
---|---|---|
committer | David Hill <dhill@cvs.openbsd.org> | 2011-07-05 03:10:30 +0000 |
commit | 9ba8749686d249f31636cd2785f1216364a8ba0c (patch) | |
tree | 7119d910ea32f5e0c5ef187af2f780d902e1ed9d /sys | |
parent | 48fd0638b8102c91f26db6f05ecd44e89bcc55dd (diff) |
allow option KVA_GUARDPAGES to compile.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/uvm/uvm_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index b9f97c60359..17227ca835b 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.144 2011/07/03 18:36:49 oga Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.145 2011/07/05 03:10:29 dhill Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -958,7 +958,7 @@ step3: */ if (map == kernel_map && !(flags & UVM_FLAG_FIXED)) { guard_entry = uvm_mapent_alloc(map, flags); - if (guard_entry != NULL { + if (guard_entry != NULL) { guard_entry->start = new_entry->end; guard_entry->end = guard_entry->start + PAGE_SIZE; guard_entry->object.uvm_obj = uobj; |