Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips fix tpyo, now n32 kernels have a chance t...



details:   https://anonhg.NetBSD.org/src/rev/8344dd202019
branches:  trunk
changeset: 346587:8344dd202019
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Jul 20 17:57:00 2016 +0000

description:
fix tpyo, now n32 kernels have a chance to work again

diffstat:

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

diffs (27 lines):

diff -r 8d3b7b7e6c57 -r 8344dd202019 sys/arch/mips/mips/bus_space_alignstride_chipdep.c
--- a/sys/arch/mips/mips/bus_space_alignstride_chipdep.c        Wed Jul 20 17:42:14 2016 +0000
+++ b/sys/arch/mips/mips/bus_space_alignstride_chipdep.c        Wed Jul 20 17:57:00 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space_alignstride_chipdep.c,v 1.28 2016/07/13 15:12:20 maya Exp $ */
+/* $NetBSD: bus_space_alignstride_chipdep.c,v 1.29 2016/07/20 17:57:00 macallan Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space_alignstride_chipdep.c,v 1.28 2016/07/13 15:12:20 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space_alignstride_chipdep.c,v 1.29 2016/07/20 17:57:00 macallan Exp $");
 
 #ifdef CHIP_EXTENT
 #include <sys/extent.h>
@@ -371,7 +371,7 @@
 
        addr = mbst.mbst_sys_start + (addr - mbst.mbst_bus_start);
 
-#if defined(__mip_n32) || defined(_LP64)
+#if defined(__mips_n32) || defined(_LP64)
        if (flags & BUS_SPACE_MAP_CACHEABLE) {
 #ifdef __mips_n32
                if (((addr + size) & ~MIPS_PHYS_MASK) == 0)



Home | Main Index | Thread Index | Old Index