Source-Changes-HG archive

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

[src/netbsd-6]: src/sys/arch/arm/arm Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/c316de5b5546
branches:  netbsd-6
changeset: 777067:c316de5b5546
user:      snj <snj%NetBSD.org@localhost>
date:      Wed Jul 13 08:20:45 2016 +0000

description:
Pull up following revision(s) (requested by skrll in ticket #1354):
        sys/arch/arm/arm/cpufunc.c: revision 1.159
PR port-arm/50512: Source code condition impossible
Fix condition which broke ARM1136 function selection when ARM1176 support
was added

diffstat:

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

diffs (27 lines):

diff -r bd038f1951cf -r c316de5b5546 sys/arch/arm/arm/cpufunc.c
--- a/sys/arch/arm/arm/cpufunc.c        Wed Jul 13 08:14:08 2016 +0000
+++ b/sys/arch/arm/arm/cpufunc.c        Wed Jul 13 08:20:45 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpufunc.c,v 1.104.2.2 2013/01/07 16:42:51 riz Exp $    */
+/*     $NetBSD: cpufunc.c,v 1.104.2.3 2016/07/13 08:20:45 snj Exp $    */
 
 /*
  * arm7tdmi support code Copyright (c) 2001 John Fremlin
@@ -49,7 +49,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.104.2.2 2013/01/07 16:42:51 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.104.2.3 2016/07/13 08:20:45 snj Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_cpuoptions.h"
@@ -1708,7 +1708,7 @@
            cputype == CPU_ID_ARM1176JZS) {
                cpufuncs = arm11_cpufuncs;
 #if defined(CPU_ARM1136)
-               if (cputype == CPU_ID_ARM1136JS &&
+               if (cputype == CPU_ID_ARM1136JS ||
                    cputype == CPU_ID_ARM1136JSR1) {
                        cpufuncs = arm1136_cpufuncs;
                        if (cputype == CPU_ID_ARM1136JS)



Home | Main Index | Thread Index | Old Index