Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/sparc remove wrong if 0ed code



details:   https://anonhg.NetBSD.org/src/rev/23247d39a18f
branches:  trunk
changeset: 750458:23247d39a18f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Jan 01 08:00:02 2010 +0000

description:
remove wrong if 0ed code

diffstat:

 sys/arch/sparc/sparc/timer_sun4m.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r 14655fb0aa9d -r 23247d39a18f sys/arch/sparc/sparc/timer_sun4m.c
--- a/sys/arch/sparc/sparc/timer_sun4m.c        Fri Jan 01 07:35:09 2010 +0000
+++ b/sys/arch/sparc/sparc/timer_sun4m.c        Fri Jan 01 08:00:02 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: timer_sun4m.c,v 1.18 2009/12/20 03:40:03 mrg Exp $     */
+/*     $NetBSD: timer_sun4m.c,v 1.19 2010/01/01 08:00:02 mrg Exp $     */
 
 /*
  * Copyright (c) 1992, 1993
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: timer_sun4m.c,v 1.18 2009/12/20 03:40:03 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: timer_sun4m.c,v 1.19 2010/01/01 08:00:02 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -131,12 +131,6 @@
 
        cpuinfo.ci_lev14.ev_count++;
 
-#if defined(MULTIPROCESSOR) && 0
-       if (!(curcpu()->master)) {
-               raise_ipi(&cpuinfo, 10);
-       }
-#endif
-
        /* read the limit register to clear the interrupt */
        *((volatile int *)&counterreg4m->t_limit);
 



Home | Main Index | Thread Index | Old Index