summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-06-11 05:20:33 +0000
committerpeter <peter@FreeBSD.org>2003-06-11 05:20:33 +0000
commitfda03b7cfc3c5e62699fdaf93abb21309f7a7ae5 (patch)
treee668b3fc1b095e0f84426c35d734e329d1e51e54 /sys
parent3fbe5ead23cd44e65e5c76aee57e9efa81fd7ab3 (diff)
downloadFreeBSD-src-fda03b7cfc3c5e62699fdaf93abb21309f7a7ae5.zip
FreeBSD-src-fda03b7cfc3c5e62699fdaf93abb21309f7a7ae5.tar.gz
GC unused cpu_wait() function
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/alpha/vm_machdep.c6
-rw-r--r--sys/amd64/amd64/vm_machdep.c5
-rw-r--r--sys/i386/i386/vm_machdep.c6
-rw-r--r--sys/ia64/ia64/vm_machdep.c7
-rw-r--r--sys/powerpc/aim/vm_machdep.c6
-rw-r--r--sys/powerpc/powerpc/vm_machdep.c6
-rw-r--r--sys/sparc64/sparc64/vm_machdep.c5
-rw-r--r--sys/sys/proc.h1
-rw-r--r--sys/vm/vm_glue.c1
9 files changed, 0 insertions, 43 deletions
diff --git a/sys/alpha/alpha/vm_machdep.c b/sys/alpha/alpha/vm_machdep.c
index 8e85a31..7235180 100644
--- a/sys/alpha/alpha/vm_machdep.c
+++ b/sys/alpha/alpha/vm_machdep.c
@@ -320,12 +320,6 @@ cpu_set_upcall_kse(struct thread *td, struct kse_upcall *ku)
/* XXX */
}
-void
-cpu_wait(p)
- struct proc *p;
-{
-}
-
/*
* Reset back to firmware.
*/
diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c
index 768fbeb..d3a544e 100644
--- a/sys/amd64/amd64/vm_machdep.c
+++ b/sys/amd64/amd64/vm_machdep.c
@@ -233,11 +233,6 @@ cpu_set_upcall_kse(struct thread *td, struct kse_upcall *ku)
{
}
-void
-cpu_wait(p)
- struct proc *p;
-{
-}
/*
* Force reset the processor by invalidating the entire address space!
diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c
index 3cb48a1..10d9714 100644
--- a/sys/i386/i386/vm_machdep.c
+++ b/sys/i386/i386/vm_machdep.c
@@ -413,12 +413,6 @@ cpu_set_upcall_kse(struct thread *td, struct kse_upcall *ku)
(int)ku->ku_mailbox);
}
-void
-cpu_wait(p)
- struct proc *p;
-{
-}
-
/*
* Convert kernel VA to physical address
*/
diff --git a/sys/ia64/ia64/vm_machdep.c b/sys/ia64/ia64/vm_machdep.c
index 7603afb..a9f927a 100644
--- a/sys/ia64/ia64/vm_machdep.c
+++ b/sys/ia64/ia64/vm_machdep.c
@@ -239,7 +239,6 @@ cpu_set_fork_handler(td, func, arg)
/*
* cpu_exit is called as the last action during exit.
* We drop the fp state (if we have it) and switch to a live one.
- * When the proc is reaped, cpu_wait() will gc the VM state.
*/
void
cpu_exit(struct thread *td)
@@ -255,12 +254,6 @@ cpu_sched_exit(td)
{
}
-void
-cpu_wait(p)
- struct proc *p;
-{
-}
-
/*
* Force reset the processor by invalidating the entire address space!
*/
diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c
index b12db5b..b9aa06b 100644
--- a/sys/powerpc/aim/vm_machdep.c
+++ b/sys/powerpc/aim/vm_machdep.c
@@ -199,12 +199,6 @@ cpu_sched_exit(td)
{
}
-void
-cpu_wait(td)
- struct proc *td;
-{
-}
-
/* Temporary helper */
void
cpu_throw(void)
diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c
index b12db5b..b9aa06b 100644
--- a/sys/powerpc/powerpc/vm_machdep.c
+++ b/sys/powerpc/powerpc/vm_machdep.c
@@ -199,12 +199,6 @@ cpu_sched_exit(td)
{
}
-void
-cpu_wait(td)
- struct proc *td;
-{
-}
-
/* Temporary helper */
void
cpu_throw(void)
diff --git a/sys/sparc64/sparc64/vm_machdep.c b/sys/sparc64/sparc64/vm_machdep.c
index e96875c..7f54e12 100644
--- a/sys/sparc64/sparc64/vm_machdep.c
+++ b/sys/sparc64/sparc64/vm_machdep.c
@@ -308,11 +308,6 @@ cpu_set_fork_handler(struct thread *td, void (*func)(void *), void *arg)
fp->fr_local[1] = (u_long)arg;
}
-void
-cpu_wait(struct proc *p)
-{
-}
-
int
is_physical_memory(vm_paddr_t addr)
{
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index dec25e5..a01702d 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -879,7 +879,6 @@ void cpu_sched_exit(struct thread *);
void exit1(struct thread *, int) __dead2;
void cpu_fork(struct thread *, struct proc *, struct thread *, int);
void cpu_set_fork_handler(struct thread *, void (*)(void *), void *);
-void cpu_wait(struct proc *);
/* New in KSE. */
struct ksegrp *ksegrp_alloc(void);
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index 8dce649..67b585e 100644
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -474,7 +474,6 @@ vm_waitproc(p)
{
GIANT_REQUIRED;
- cpu_wait(p);
vmspace_exitfree(p); /* and clean-out the vmspace */
}
OpenPOWER on IntegriCloud