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 minor KNF.



details:   https://anonhg.NetBSD.org/src/rev/3696c25c2c00
branches:  trunk
changeset: 750196:3696c25c2c00
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Dec 20 03:42:29 2009 +0000

description:
minor KNF.

diffstat:

 sys/arch/sparc/sparc/cpu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 280cdc8c8308 -r 3696c25c2c00 sys/arch/sparc/sparc/cpu.c
--- a/sys/arch/sparc/sparc/cpu.c        Sun Dec 20 03:41:49 2009 +0000
+++ b/sys/arch/sparc/sparc/cpu.c        Sun Dec 20 03:42:29 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.219 2009/11/21 04:16:51 rmind Exp $ */
+/*     $NetBSD: cpu.c,v 1.220 2009/12/20 03:42:29 mrg Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -52,7 +52,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.219 2009/11/21 04:16:51 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.220 2009/12/20 03:42:29 mrg Exp $");
 
 #include "opt_multiprocessor.h"
 #include "opt_lockdebug.h"
@@ -1590,7 +1590,7 @@
                        sc->flags |= CPUFLG_CACHEPAGETABLES;
        } else {
 #ifdef MULTIPROCESSOR
-               if ((sparc_ncpus > 1) && (sc->cacheinfo.ec_totalsize == 0))
+               if (sparc_ncpus > 1 && sc->cacheinfo.ec_totalsize == 0)
                        sc->cache_flush = srmmu_cache_flush;
 #endif
        }



Home | Main Index | Thread Index | Old Index