diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-04-28 09:28:19 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-04-28 09:28:19 +0000 |
commit | b8c7f7d225a0818af863141be01804bafd685c8f (patch) | |
tree | 80bf9d5ac5f1bc35b15507e8ef5b88e7a17c80ff /sys/uvm | |
parent | ae56ece12b92c7cacfd911b0acbdda5aaf9aa098 (diff) |
zap the newhashinit hack.
Add an extra flag to hashinit telling if it should wait in malloc.
update all calls to hashinit.
Diffstat (limited to 'sys/uvm')
-rw-r--r-- | sys/uvm/uvm_aobj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_aobj.c b/sys/uvm/uvm_aobj.c index 9c69fc0d4e7..a0a50c7f72c 100644 --- a/sys/uvm/uvm_aobj.c +++ b/sys/uvm/uvm_aobj.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_aobj.c,v 1.2 1999/02/26 05:32:06 art Exp $ */ +/* $OpenBSD: uvm_aobj.c,v 1.3 1999/04/28 09:28:18 art Exp $ */ /* $NetBSD: uvm_aobj.c,v 1.15 1998/10/18 23:49:59 chs Exp $ */ /* @@ -522,7 +522,7 @@ uao_create(size, flags) /* allocate hash table or array depending on object size */ if (UAO_USES_SWHASH(aobj)) { - aobj->u_swhash = newhashinit(UAO_SWHASH_BUCKETS(aobj), + aobj->u_swhash = hashinit(UAO_SWHASH_BUCKETS(aobj), M_UVMAOBJ, mflags, &aobj->u_swhashmask); if (aobj->u_swhash == NULL) panic("uao_create: hashinit swhash failed"); |