From aba727244c613709f34584ebb620cba33b270aa8 Mon Sep 17 00:00:00 2001 From: dillon Date: Thu, 16 Jan 2003 00:02:21 +0000 Subject: Merge all the various copies of vm_fault_quick() into a single portable copy. --- sys/amd64/amd64/vm_machdep.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'sys/amd64') diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index eaa1174..823cad9 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -96,23 +96,6 @@ static volatile u_int cpu_reset_proxy_active; extern int _ucodesel, _udatasel; /* - * quick version of vm_fault - */ -int -vm_fault_quick(v, prot) - caddr_t v; - int prot; -{ - int r; - - if (prot & VM_PROT_WRITE) - r = subyte(v, fubyte(v)); - else - r = fubyte(v); - return(r); -} - -/* * Finish a fork operation, with process p2 nearly set up. * Copy and update the pcb, set up the stack so that the child * ready to run and return to user mode. -- cgit v1.1