summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_kern.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-11-07 21:56:58 +0000
committerpjd <pjd@FreeBSD.org>2007-11-07 21:56:58 +0000
commitf372a74b85982996f2d12eeef0b1fe3cf17af7d5 (patch)
tree4ff990dc604e3a72270860d7aab1eae9570aaa90 /sys/vm/vm_kern.c
parentfd12f0aa28a70d79f5007df9cff5f54701bed894 (diff)
downloadFreeBSD-src-f372a74b85982996f2d12eeef0b1fe3cf17af7d5.zip
FreeBSD-src-f372a74b85982996f2d12eeef0b1fe3cf17af7d5.tar.gz
Change unused 'user_wait' argument to 'timo' argument, which will be
used to specify timeout for msleep(9). Discussed with: alc Reviewed by: alc
Diffstat (limited to 'sys/vm/vm_kern.c')
-rw-r--r--sys/vm/vm_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c
index fd01c4e..3b6de83 100644
--- a/sys/vm/vm_kern.c
+++ b/sys/vm/vm_kern.c
@@ -446,7 +446,7 @@ kmem_alloc_wait(map, size)
return (0);
}
map->needs_wakeup = TRUE;
- vm_map_unlock_and_wait(map, FALSE);
+ vm_map_unlock_and_wait(map, 0);
}
vm_map_insert(map, NULL, 0, addr, addr + size, VM_PROT_ALL, VM_PROT_ALL, 0);
vm_map_unlock(map);
OpenPOWER on IntegriCloud