Source-Changes-HG archive

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

[src/netbsd-7]: src/sys/arch/mips/mips Apply patch (requested by nisimura in ...



details:   https://anonhg.NetBSD.org/src/rev/b2eef9fdbd98
branches:  netbsd-7
changeset: 799643:b2eef9fdbd98
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Nov 05 20:32:31 2015 +0000

description:
Apply patch (requested by nisimura in ticket #979):
sys/arch/mips/mips/bus_space_alignstride_chipdep.c: patch

__USE(addr) to fix unused variable warnings.

diffstat:

 sys/arch/mips/mips/bus_space_alignstride_chipdep.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 41520fc1ac5b -r b2eef9fdbd98 sys/arch/mips/mips/bus_space_alignstride_chipdep.c
--- a/sys/arch/mips/mips/bus_space_alignstride_chipdep.c        Thu Nov 05 20:25:30 2015 +0000
+++ b/sys/arch/mips/mips/bus_space_alignstride_chipdep.c        Thu Nov 05 20:32:31 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space_alignstride_chipdep.c,v 1.19 2012/01/27 18:52:58 para Exp $ */
+/* $NetBSD: bus_space_alignstride_chipdep.c,v 1.19.22.1 2015/11/05 20:32:31 riz Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -81,7 +81,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space_alignstride_chipdep.c,v 1.19 2012/01/27 18:52:58 para Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space_alignstride_chipdep.c,v 1.19.22.1 2015/11/05 20:32:31 riz Exp $");
 
 #ifdef CHIP_EXTENT
 #include <sys/extent.h>
@@ -505,6 +505,9 @@
 #endif
        }       
 #endif /* CHIP_EXTENT */
+#if !defined(_LP64) || defined(CHIP_EXTENT)
+      __USE(addr);
+#endif
 }
 
 static int



Home | Main Index | Thread Index | Old Index