summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2002-03-25 04:38:48 +0000
committertmm <tmm@FreeBSD.org>2002-03-25 04:38:48 +0000
commit2cd706e7dcfa98846ed7adefdb2ee745d9909869 (patch)
tree88108770cae687ecdac649228688a15cfa5511e1 /sys/sparc64
parented02ae39ee83333387bcf51be81d5d00e50fc96b (diff)
downloadFreeBSD-src-2cd706e7dcfa98846ed7adefdb2ee745d9909869.zip
FreeBSD-src-2cd706e7dcfa98846ed7adefdb2ee745d9909869.tar.gz
Make this compile (submitted by jake), add a missing include.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/pv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/pv.c b/sys/sparc64/sparc64/pv.c
index 990a76b..7420734 100644
--- a/sys/sparc64/sparc64/pv.c
+++ b/sys/sparc64/sparc64/pv.c
@@ -44,6 +44,7 @@
#include <sys/smp.h>
#include <vm/vm.h>
+#include <vm/vm_extern.h>
#include <vm/vm_param.h>
#include <vm/vm_kern.h>
#include <vm/vm_object.h>
@@ -77,7 +78,7 @@ pv_alloc(void)
pmap_pagedaemon_waken = 1;
wakeup(&vm_pages_needed);
}
- return (uma_zalloc(pvzone), M_WAITOK);
+ return (uma_zalloc(pvzone, M_WAITOK));
}
void *
OpenPOWER on IntegriCloud