From 909602587ebd8009de69b1346c5c0d6c9671e7af Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Tue, 27 Jan 2015 20:50:47 +0000 Subject: tedu x86_self_ipi()/i386_self_ipi() They are not used anywhere. ok mlarkin@ --- sys/arch/amd64/include/cpuvar.h | 3 +-- sys/arch/i386/i386/ipifuncs.c | 10 +--------- sys/arch/i386/include/cpuvar.h | 3 +-- 3 files changed, 3 insertions(+), 13 deletions(-) (limited to 'sys') 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 $ */ /*- @@ -173,14 +173,6 @@ i386_fast_ipi(struct cpu_info *ci, int ipi) return (i386_ipi(ipi, ci->ci_apicid, LAPIC_DLMODE_FIXED)); } -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) { 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 *); -- cgit v1.2.3