summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-12-27 19:51:28 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-12-27 19:51:28 +0000
commit21a8a80dbd304e9f58f405ec6544f18d5dee4b72 (patch)
treee530c2073a074bbd8df49c90da1cdcf317a390c5 /sys/arch/amd64
parent483dea1f6457fcb58dbe62a48e1affc2b2c07e90 (diff)
Eliminate x86_multicast_ipi() as unused and broken (doesn't handle #cpu>32).
The i386 version was removed some time ago, so kill its declaration too. ok tedu@ kettenis@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/ipi.c19
-rw-r--r--sys/arch/amd64/include/intr.h3
2 files changed, 2 insertions, 20 deletions
diff --git a/sys/arch/amd64/amd64/ipi.c b/sys/arch/amd64/amd64/ipi.c
index 7c5ebaac464..253d4b607be 100644
--- a/sys/arch/amd64/amd64/ipi.c
+++ b/sys/arch/amd64/amd64/ipi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipi.c,v 1.8 2008/06/26 05:42:09 ray Exp $ */
+/* $OpenBSD: ipi.c,v 1.9 2010/12/27 19:51:27 guenther Exp $ */
/* $NetBSD: ipi.c,v 1.2 2003/03/01 13:05:37 fvdl Exp $ */
/*-
@@ -98,23 +98,6 @@ x86_broadcast_ipi(int ipimask)
}
void
-x86_multicast_ipi(int cpumask, int ipimask)
-{
- struct cpu_info *ci;
- CPU_INFO_ITERATOR cii;
-
- cpumask &= ~(1U << cpu_number());
- if (cpumask == 0)
- return;
-
- CPU_INFO_FOREACH(cii, ci) {
- if ((cpumask & (1U << ci->ci_cpuid)) == 0)
- continue;
- x86_send_ipi(ci, ipimask);
- }
-}
-
-void
x86_ipi_handler(void)
{
extern struct evcount ipi_count;
diff --git a/sys/arch/amd64/include/intr.h b/sys/arch/amd64/include/intr.h
index 8fcb027363b..c820a2456e7 100644
--- a/sys/arch/amd64/include/intr.h
+++ b/sys/arch/amd64/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.20 2010/12/21 14:56:23 claudio Exp $ */
+/* $OpenBSD: intr.h,v 1.21 2010/12/27 19:51:27 guenther Exp $ */
/* $NetBSD: intr.h,v 1.2 2003/05/04 22:01:56 fvdl Exp $ */
/*-
@@ -210,7 +210,6 @@ void intr_printconfig(void);
int x86_send_ipi(struct cpu_info *, int);
int x86_fast_ipi(struct cpu_info *, int);
void x86_broadcast_ipi(int);
-void x86_multicast_ipi(int, int);
void x86_ipi_handler(void);
void x86_intlock(struct intrframe);
void x86_intunlock(struct intrframe);