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 previous for LP64
details: https://anonhg.NetBSD.org/src/rev/9d1cc6dac372
branches: trunk
changeset: 336108:9d1cc6dac372
user: macallan <macallan%NetBSD.org@localhost>
date: Fri Feb 13 14:11:12 2015 +0000
description:
fix previous for LP64
diffstat:
sys/arch/mips/mips/bus_space_alignstride_chipdep.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r a5ed1880f799 -r 9d1cc6dac372 sys/arch/mips/mips/bus_space_alignstride_chipdep.c
--- a/sys/arch/mips/mips/bus_space_alignstride_chipdep.c Fri Feb 13 13:48:17 2015 +0000
+++ b/sys/arch/mips/mips/bus_space_alignstride_chipdep.c Fri Feb 13 14:11:12 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space_alignstride_chipdep.c,v 1.21 2015/02/12 13:29:15 macallan Exp $ */
+/* $NetBSD: bus_space_alignstride_chipdep.c,v 1.22 2015/02/13 14:11:12 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.21 2015/02/12 13:29:15 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space_alignstride_chipdep.c,v 1.22 2015/02/13 14:11:12 macallan Exp $");
#ifdef CHIP_EXTENT
#include <sys/extent.h>
@@ -518,7 +518,9 @@
#endif
}
#endif /* CHIP_EXTENT */
+#if !defined(_LP64) || defined(CHIP_EXTENT)
__USE(addr);
+#endif
}
static int
Home |
Main Index |
Thread Index |
Old Index