summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2008-09-28 18:34:14 +0000
committermarius <marius@FreeBSD.org>2008-09-28 18:34:14 +0000
commita1ec700ce86e235c28f1c3187005ffd0a4fc0771 (patch)
tree9ce76384feced5a803e792230ba07f3bb5776ef3 /sys/mips
parent67d011afcbb04955068e1ab6d7a373efa90ac749 (diff)
downloadFreeBSD-src-a1ec700ce86e235c28f1c3187005ffd0a4fc0771.zip
FreeBSD-src-a1ec700ce86e235c28f1c3187005ffd0a4fc0771.tar.gz
Remove ipi_all() and ipi_self() as the former hasn't been used at
all to date and the latter also is only used in ia64 and powerpc code which no longer serves a real purpose after bring-up and just can be removed as well. Note that architectures like sun4u also provide no means of implementing IPI'ing a CPU itself natively in the first place. Suggested by: jhb Reviewed by: arch, grehan, jhb
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/include/smp.h2
-rw-r--r--sys/mips/mips/mp_machdep.c20
2 files changed, 0 insertions, 22 deletions
diff --git a/sys/mips/include/smp.h b/sys/mips/include/smp.h
index d0ac25d..798beed 100644
--- a/sys/mips/include/smp.h
+++ b/sys/mips/include/smp.h
@@ -30,9 +30,7 @@
extern u_int32_t boot_cpu_id;
void ipi_selected(u_int cpus, u_int32_t ipi);
-void ipi_all(u_int32_t ipi);
void ipi_all_but_self(u_int32_t ipi);
-void ipi_self(u_int32_t ipi);
intrmask_t smp_handle_ipi(struct trapframe *frame);
void smp_init_secondary(u_int32_t cpuid);
void mips_ipi_send(int thread_id);
diff --git a/sys/mips/mips/mp_machdep.c b/sys/mips/mips/mp_machdep.c
index 1a7e272..3f7d731 100644
--- a/sys/mips/mips/mp_machdep.c
+++ b/sys/mips/mips/mp_machdep.c
@@ -86,16 +86,6 @@ ipi_selected(u_int32_t cpus, u_int ipi)
}
/*
- * send an IPI INTerrupt containing 'vector' to all CPUs, including myself
- */
-void
-ipi_all(u_int ipi)
-{
-
- ipi_selected(all_cpus, ipi);
-}
-
-/*
* send an IPI to all CPUs EXCEPT myself
*/
void
@@ -106,16 +96,6 @@ ipi_all_but_self(u_int ipi)
}
/*
- * send an IPI to myself
- */
-void
-ipi_self(u_int ipi)
-{
-
- ipi_selected(PCPU_GET(cpumask), ipi);
-}
-
-/*
* Handle an IPI sent to this processor.
*/
intrmask_t
OpenPOWER on IntegriCloud