summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2003-01-16 00:02:21 +0000
committerdillon <dillon@FreeBSD.org>2003-01-16 00:02:21 +0000
commitaba727244c613709f34584ebb620cba33b270aa8 (patch)
treee3cb42f591e5e313002c7ff53f9f04d2e262afbe /sys/i386
parentbd6fdb8977d9154d972b0403fd08b7f1a258be6c (diff)
downloadFreeBSD-src-aba727244c613709f34584ebb620cba33b270aa8.zip
FreeBSD-src-aba727244c613709f34584ebb620cba33b270aa8.tar.gz
Merge all the various copies of vm_fault_quick() into a single
portable copy.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/vm_machdep.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c
index eaa1174..823cad9 100644
--- a/sys/i386/i386/vm_machdep.c
+++ b/sys/i386/i386/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.
OpenPOWER on IntegriCloud