summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-09-20 21:40:15 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-09-20 21:40:15 +0000
commit4da7c5408d162f6305a6fc0065d3120fe2d07ca8 (patch)
tree6b498513510afa615eb45bf9854c4a968228eb62 /sys/arch/hppa
parent35ca27c72673c840e2ff331907072e9f50c119f2 (diff)
fix uvm_pagealloc() call
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index d0fe3313c36..91abef0ff5d 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.13 1999/09/03 18:00:46 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.14 1999/09/20 21:40:14 mickey Exp $ */
/*
* Copyright (c) 1998,1999 Michael Shalayeff
@@ -540,7 +540,7 @@ cpu_startup()
curbufsize = CLBYTES * ((i < residual) ? (base+1) : base);
while (curbufsize) {
- if ((pg = uvm_pagealloc(NULL, 0, NULL)) == NULL)
+ if ((pg = uvm_pagealloc(NULL, 0, NULL, 0)) == NULL)
panic("cpu_startup: not enough memory for "
"buffer cache");
pmap_enter(kernel_map->pmap, curbuf,