summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_user.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-05-25 09:21:21 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-05-25 09:21:21 +0000
commit2469c867a164210ce96143517059f21db7f1fd17 (patch)
tree9179427ac860211c445df663fd2b86267366bfba /sys/vm/vm_user.c
parentcb0aba89af15a48e2655e898a503946ac4cb42ae (diff)
downloadFreeBSD-src-2469c867a164210ce96143517059f21db7f1fd17.zip
FreeBSD-src-2469c867a164210ce96143517059f21db7f1fd17.tar.gz
The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.
Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
Diffstat (limited to 'sys/vm/vm_user.c')
-rw-r--r--sys/vm/vm_user.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/vm/vm_user.c b/sys/vm/vm_user.c
index 20172c6..0f2c234 100644
--- a/sys/vm/vm_user.c
+++ b/sys/vm/vm_user.c
@@ -168,6 +168,7 @@ svm_protect(p, uap, retval)
return((int)rv);
}
+#endif
/*
* vm_inherit sets the inheritence of the specified range in the
* specified map.
@@ -203,7 +204,6 @@ vm_protect(map, start, size, set_maximum, new_protection)
return(vm_map_protect(map, trunc_page(start), round_page(start+size), new_protection, set_maximum));
}
-#endif
/*
* vm_allocate allocates "zero fill" memory in the specfied
@@ -255,6 +255,7 @@ vm_deallocate(map, start, size)
return(vm_map_remove(map, trunc_page(start), round_page(start+size)));
}
+#if 1
/*
* Similar to vm_allocate but assigns an explicit pager.
*/
@@ -310,3 +311,4 @@ vm_allocate_with_pager(map, addr, size, anywhere, pager, poffset, internal)
vm_object_setpager(object, pager, (vm_offset_t) 0, TRUE);
return(result);
}
+#endif
OpenPOWER on IntegriCloud