summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_map_i.h
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2007-10-29 17:08:09 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2007-10-29 17:08:09 +0000
commitb57027c2da29afd8871495930d2dd49758b7af4b (patch)
tree067eb92d07dcbcdfa2162e8b1f40df372299fa15 /sys/uvm/uvm_map_i.h
parent05070ba5664cd1f90f8c37b6be09b1b58199648d (diff)
MALLOC/FREE -> malloc/free
ok krw@
Diffstat (limited to 'sys/uvm/uvm_map_i.h')
-rw-r--r--sys/uvm/uvm_map_i.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_map_i.h b/sys/uvm/uvm_map_i.h
index 70dd13e2a2d..c4d1f2c4363 100644
--- a/sys/uvm/uvm_map_i.h
+++ b/sys/uvm/uvm_map_i.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map_i.h,v 1.21 2007/04/11 12:10:42 art Exp $ */
+/* $OpenBSD: uvm_map_i.h,v 1.22 2007/10/29 17:08:08 chl Exp $ */
/* $NetBSD: uvm_map_i.h,v 1.18 2000/11/27 08:40:04 chs Exp $ */
/*
@@ -92,7 +92,7 @@ uvm_map_create(pmap, min, max, flags)
{
vm_map_t result;
- MALLOC(result, vm_map_t, sizeof(struct vm_map), M_VMMAP, M_WAITOK);
+ result = malloc(sizeof(struct vm_map), M_VMMAP, M_WAITOK);
uvm_map_setup(result, min, max, flags);
result->pmap = pmap;
return(result);
@@ -206,7 +206,7 @@ uvm_map_deallocate(map)
uvm_unmap(map, map->min_offset, map->max_offset);
pmap_destroy(map->pmap);
- FREE(map, M_VMMAP);
+ free(map, M_VMMAP);
}
#endif /* defined(UVM_MAP_INLINE) || defined(UVM_MAP) */