diff options
| author | John Dyson <dyson@FreeBSD.org> | 1996-06-02 06:24:27 +0000 |
|---|---|---|
| committer | John Dyson <dyson@FreeBSD.org> | 1996-06-02 06:24:27 +0000 |
| commit | 4ebce1e9a69b847e06f417f50b78585872394165 (patch) | |
| tree | 408176e211924472df70232f75a7f8feb5095427 /sys/kern/sys_process.c | |
| parent | b7509747458510355b9572d652c015ceb3802277 (diff) | |
Notes
Diffstat (limited to 'sys/kern/sys_process.c')
| -rw-r--r-- | sys/kern/sys_process.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index f01629aeec81..5714e242c2ac 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sys_process.c,v 1.22 1996/03/30 15:02:58 peter Exp $ + * $Id: sys_process.c,v 1.23 1996/05/02 14:20:23 phk Exp $ */ #include <sys/param.h> @@ -169,11 +169,7 @@ pwrite (struct proc *procp, unsigned int addr, unsigned int datum) { * Fault the page in... */ - vm_map_pageable(map, trunc_page(vtopte(pageno)), - trunc_page(vtopte(pageno)) + PAGE_SIZE, FALSE); rv = vm_fault(map, pageno, VM_PROT_WRITE|VM_PROT_READ, FALSE); - vm_map_pageable(map, trunc_page(vtopte(pageno)), - trunc_page(vtopte(pageno)) + PAGE_SIZE, TRUE); if (rv != KERN_SUCCESS) return EFAULT; |
