Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86 Nothing uses x86_multicast_ipi() right now and ...
details: https://anonhg.NetBSD.org/src/rev/0cf0dcaa5bb8
branches: trunk
changeset: 754273:0cf0dcaa5bb8
user: ad <ad%NetBSD.org@localhost>
date: Sun Apr 25 16:10:51 2010 +0000
description:
Nothing uses x86_multicast_ipi() right now and it complicates many
CPU support, so remove it.
diffstat:
sys/arch/x86/include/intr.h | 3 +--
sys/arch/x86/x86/ipi.c | 25 ++-----------------------
2 files changed, 3 insertions(+), 25 deletions(-)
diffs (68 lines):
diff -r a433769e3e10 -r 0cf0dcaa5bb8 sys/arch/x86/include/intr.h
--- a/sys/arch/x86/include/intr.h Sun Apr 25 15:57:59 2010 +0000
+++ b/sys/arch/x86/include/intr.h Sun Apr 25 16:10:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.39 2009/04/19 14:11:37 ad Exp $ */
+/* $NetBSD: intr.h,v 1.40 2010/04/25 16:10:51 ad Exp $ */
/*-
* Copyright (c) 1998, 2001, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -181,7 +181,6 @@
int x86_send_ipi(struct cpu_info *, int);
void x86_broadcast_ipi(int);
-void x86_multicast_ipi(int, int);
void x86_ipi_handler(void);
extern void (*ipifunc[X86_NIPI])(struct cpu_info *);
diff -r a433769e3e10 -r 0cf0dcaa5bb8 sys/arch/x86/x86/ipi.c
--- a/sys/arch/x86/x86/ipi.c Sun Apr 25 15:57:59 2010 +0000
+++ b/sys/arch/x86/x86/ipi.c Sun Apr 25 16:10:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipi.c,v 1.16 2009/10/05 23:59:31 rmind Exp $ */
+/* $NetBSD: ipi.c,v 1.17 2010/04/25 16:10:51 ad Exp $ */
/*-
* Copyright (c) 2000, 2008, 2009 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipi.c,v 1.16 2009/10/05 23:59:31 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipi.c,v 1.17 2010/04/25 16:10:51 ad Exp $");
#include "opt_mtrr.h"
@@ -145,21 +145,6 @@
}
void
-x86_multicast_ipi(int cpumask, int ipimask)
-{
- struct cpu_info *ci;
- CPU_INFO_ITERATOR cii;
-
- if ((cpumask &= ~curcpu()->ci_cpumask) == 0)
- return;
-
- for (CPU_INFO_FOREACH(cii, ci)) {
- if ((cpumask & ci->ci_cpumask) != 0)
- x86_send_ipi(ci, ipimask);
- }
-}
-
-void
x86_ipi_handler(void)
{
struct cpu_info *ci = curcpu();
@@ -239,10 +224,4 @@
}
-void
-x86_multicast_ipi(int cpumask, int ipimask)
-{
-
-}
-
#endif
Home |
Main Index |
Thread Index |
Old Index