diff options
author | tmm <tmm@FreeBSD.org> | 2002-03-25 04:38:48 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2002-03-25 04:38:48 +0000 |
commit | 2cd706e7dcfa98846ed7adefdb2ee745d9909869 (patch) | |
tree | 88108770cae687ecdac649228688a15cfa5511e1 | |
parent | ed02ae39ee83333387bcf51be81d5d00e50fc96b (diff) | |
download | FreeBSD-src-2cd706e7dcfa98846ed7adefdb2ee745d9909869.zip FreeBSD-src-2cd706e7dcfa98846ed7adefdb2ee745d9909869.tar.gz |
Make this compile (submitted by jake), add a missing include.
-rw-r--r-- | sys/sparc64/sparc64/pv.c | 3 |
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 * |