Module Name: src Committed By: ad Date: Sun Apr 25 16:10:51 UTC 2010
Modified Files: src/sys/arch/x86/include: intr.h src/sys/arch/x86/x86: ipi.c Log Message: Nothing uses x86_multicast_ipi() right now and it complicates many CPU support, so remove it. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/x86/include/intr.h cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x86/x86/ipi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x86/include/intr.h diff -u src/sys/arch/x86/include/intr.h:1.39 src/sys/arch/x86/include/intr.h:1.40 --- src/sys/arch/x86/include/intr.h:1.39 Sun Apr 19 14:11:37 2009 +++ src/sys/arch/x86/include/intr.h Sun Apr 25 16:10:51 2010 @@ -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 *); Index: src/sys/arch/x86/x86/ipi.c diff -u src/sys/arch/x86/x86/ipi.c:1.16 src/sys/arch/x86/x86/ipi.c:1.17 --- src/sys/arch/x86/x86/ipi.c:1.16 Mon Oct 5 23:59:31 2009 +++ src/sys/arch/x86/x86/ipi.c Sun Apr 25 16:10:51 2010 @@ -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