Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/mpc6xx Fix inverted test in previous. (D'oh!)



details:   https://anonhg.NetBSD.org/src/rev/cde166757bba
branches:  trunk
changeset: 542261:cde166757bba
user:      kleink <kleink%NetBSD.org@localhost>
date:      Fri Jan 24 21:26:08 2003 +0000

description:
Fix inverted test in previous.  (D'oh!)

diffstat:

 sys/arch/powerpc/mpc6xx/mpc6xx_machdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 30ef7ca1424b -r cde166757bba sys/arch/powerpc/mpc6xx/mpc6xx_machdep.c
--- a/sys/arch/powerpc/mpc6xx/mpc6xx_machdep.c  Fri Jan 24 20:46:45 2003 +0000
+++ b/sys/arch/powerpc/mpc6xx/mpc6xx_machdep.c  Fri Jan 24 21:26:08 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mpc6xx_machdep.c,v 1.12 2003/01/22 21:44:55 kleink Exp $       */
+/*     $NetBSD: mpc6xx_machdep.c,v 1.13 2003/01/24 21:26:08 kleink Exp $       */
 
 /*
  * Copyright (C) 2002 Matt Thomas
@@ -300,7 +300,7 @@
                }
        }
 
-       if (cpu_altivec == 1 || cpuvers != MPC601) {
+       if (!cpu_altivec || cpuvers != MPC601) {
                /*
                 * Sync the changed instructions.
                 */



Home | Main Index | Thread Index | Old Index