Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/omap Fix build in non-debug kernels, mark eopi ...



details:   https://anonhg.NetBSD.org/src/rev/b7352f3191c5
branches:  trunk
changeset: 328606:b7352f3191c5
user:      hans <hans%NetBSD.org@localhost>
date:      Wed Apr 09 20:52:14 2014 +0000

description:
Fix build in non-debug kernels, mark eopi __diagused in cpsw_start().

diffstat:

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

diffs (27 lines):

diff -r 135583c5326a -r b7352f3191c5 sys/arch/arm/omap/if_cpsw.c
--- a/sys/arch/arm/omap/if_cpsw.c       Wed Apr 09 19:50:01 2014 +0000
+++ b/sys/arch/arm/omap/if_cpsw.c       Wed Apr 09 20:52:14 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_cpsw.c,v 1.5 2014/02/26 03:58:33 ozaki-r Exp $      */
+/*     $NetBSD: if_cpsw.c,v 1.6 2014/04/09 20:52:14 hans Exp $ */
 
 /*
  * Copyright (c) 2013 Jonathan A. Kollasch
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: if_cpsw.c,v 1.5 2014/02/26 03:58:33 ozaki-r Exp $");
+__KERNEL_RCSID(1, "$NetBSD: if_cpsw.c,v 1.6 2014/04/09 20:52:14 hans Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -527,7 +527,7 @@
        uint32_t * const dw = bd.word;
        struct mbuf *m;
        bus_dmamap_t dm;
-       u_int eopi = ~0;
+       u_int eopi __diagused = ~0;
        u_int seg;
        u_int txfree;
        int txstart = -1;



Home | Main Index | Thread Index | Old Index