summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2015-01-27 20:50:47 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2015-01-27 20:50:47 +0000
commit909602587ebd8009de69b1346c5c0d6c9671e7af (patch)
tree76e5d9398f53d50cf981fdbda3032d3c5b5ad86f /sys
parentbcfdc3c0d8339d14db9d53f86687da953ea14c1f (diff)
tedu x86_self_ipi()/i386_self_ipi()
They are not used anywhere. ok mlarkin@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/include/cpuvar.h3
-rw-r--r--sys/arch/i386/i386/ipifuncs.c10
-rw-r--r--sys/arch/i386/include/cpuvar.h3
3 files changed, 3 insertions, 13 deletions
diff --git a/sys/arch/amd64/include/cpuvar.h b/sys/arch/amd64/include/cpuvar.h
index 8a75da5f14a..3b91ab5c1cd 100644
--- a/sys/arch/amd64/include/cpuvar.h
+++ b/sys/arch/amd64/include/cpuvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpuvar.h,v 1.3 2008/06/26 05:42:09 ray Exp $ */
+/* $OpenBSD: cpuvar.h,v 1.4 2015/01/27 20:50:46 sf Exp $ */
/* $NetBSD: cpuvar.h,v 1.1 2003/03/01 18:29:28 fvdl Exp $ */
/*-
@@ -88,7 +88,6 @@ struct cpu_attach_args {
#ifdef _KERNEL
int x86_ipi(int,int,int);
-void x86_self_ipi(int);
int x86_ipi_init(int);
void identifycpu(struct cpu_info *);
diff --git a/sys/arch/i386/i386/ipifuncs.c b/sys/arch/i386/i386/ipifuncs.c
index 235d0f18eb9..64011b0e1fb 100644
--- a/sys/arch/i386/i386/ipifuncs.c
+++ b/sys/arch/i386/i386/ipifuncs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipifuncs.c,v 1.24 2014/07/11 10:56:52 mlarkin Exp $ */
+/* $OpenBSD: ipifuncs.c,v 1.25 2015/01/27 20:50:46 sf Exp $ */
/* $NetBSD: ipifuncs.c,v 1.1.2.3 2000/06/26 02:04:06 sommerfeld Exp $ */
/*-
@@ -174,14 +174,6 @@ i386_fast_ipi(struct cpu_info *ci, int ipi)
}
void
-i386_self_ipi(int vector)
-{
- i82489_writereg(LAPIC_ICRLO,
- vector | LAPIC_DLMODE_FIXED | LAPIC_LVL_ASSERT | LAPIC_DEST_SELF);
-}
-
-
-void
i386_broadcast_ipi(int ipimask)
{
struct cpu_info *ci, *self = curcpu();
diff --git a/sys/arch/i386/include/cpuvar.h b/sys/arch/i386/include/cpuvar.h
index 5fc9c6337a4..ee8398643f8 100644
--- a/sys/arch/i386/include/cpuvar.h
+++ b/sys/arch/i386/include/cpuvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpuvar.h,v 1.3 2008/06/26 05:42:10 ray Exp $ */
+/* $OpenBSD: cpuvar.h,v 1.4 2015/01/27 20:50:46 sf Exp $ */
/* $NetBSD: cpuvar.h,v 1.1.2.3 2000/02/21 18:54:07 sommerfeld Exp $ */
/*-
@@ -90,7 +90,6 @@ struct cpu_attach_args {
#ifdef _KERNEL
int i386_ipi(int,int,int);
-void i386_self_ipi(int);
int i386_ipi_init(int);
void identifycpu(struct cpu_info *);