Module Name:    src
Committed By:   macallan
Date:           Wed Jul 20 17:57:00 UTC 2016

Modified Files:
        src/sys/arch/mips/mips: bus_space_alignstride_chipdep.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 \
    src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c
diff -u src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c:1.28 src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c:1.29
--- src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c:1.28	Wed Jul 13 15:12:20 2016
+++ src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c	Wed Jul 20 17:57:00 2016
@@ -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 @@ __BS(map)(void *v, bus_addr_t addr, bus_
 
 	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)

Reply via email to