Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/samsung Make it compile without DIAGNOSTIC by u...



details:   https://anonhg.NetBSD.org/src/rev/ad2a5681457d
branches:  trunk
changeset: 331836:ad2a5681457d
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Tue Aug 26 11:55:54 2014 +0000

description:
Make it compile without DIAGNOSTIC by using __diagused

diffstat:

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

diffs (27 lines):

diff -r 1043e8186197 -r ad2a5681457d sys/arch/arm/samsung/exynos_soc.c
--- a/sys/arch/arm/samsung/exynos_soc.c Tue Aug 26 11:49:39 2014 +0000
+++ b/sys/arch/arm/samsung/exynos_soc.c Tue Aug 26 11:55:54 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exynos_soc.c,v 1.14 2014/06/11 05:54:54 matt Exp $     */
+/*     $NetBSD: exynos_soc.c,v 1.15 2014/08/26 11:55:54 reinoud Exp $  */
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -33,7 +33,7 @@
 #define        _ARM32_BUS_DMA_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exynos_soc.c,v 1.14 2014/06/11 05:54:54 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exynos_soc.c,v 1.15 2014/08/26 11:55:54 reinoud Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -212,7 +212,7 @@
 {
        int error;
        size_t core_size, audiocore_size;
-       size_t audiocore_pbase, audiocore_vbase;
+       size_t audiocore_pbase, audiocore_vbase __diagused;
 
 #ifdef EXYNOS4
        if (IS_EXYNOS4_P()) {



Home | Main Index | Thread Index | Old Index