Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/osk5912 fix compile error



details:   https://anonhg.NetBSD.org/src/rev/6790b3084dcf
branches:  trunk
changeset: 321357:6790b3084dcf
user:      ryo <ryo%NetBSD.org@localhost>
date:      Tue Mar 13 06:18:47 2018 +0000

description:
fix compile error

diffstat:

 sys/arch/evbarm/osk5912/osk5912_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ebeb7dfd6731 -r 6790b3084dcf sys/arch/evbarm/osk5912/osk5912_machdep.c
--- a/sys/arch/evbarm/osk5912/osk5912_machdep.c Tue Mar 13 06:18:17 2018 +0000
+++ b/sys/arch/evbarm/osk5912/osk5912_machdep.c Tue Mar 13 06:18:47 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: osk5912_machdep.c,v 1.16 2016/12/22 14:47:56 cherry Exp $ */
+/*     $NetBSD: osk5912_machdep.c,v 1.17 2018/03/13 06:18:47 ryo Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -99,7 +99,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osk5912_machdep.c,v 1.16 2016/12/22 14:47:56 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osk5912_machdep.c,v 1.17 2018/03/13 06:18:47 ryo Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -796,7 +796,7 @@
 
        printf(mem_fmt, "SDRAM", physical_start, physical_end-1,
            KERN_PHYSTOV(physical_start), KERN_PHYSTOV(physical_end-1),
-           physmem);
+           (int)physmem);
        printf(mem_fmt, "text section",
               KERN_VTOPHYS(KERNEL_BASE), KERN_VTOPHYS(etext-1),
               (vaddr_t)KERNEL_BASE, (vaddr_t)etext-1,



Home | Main Index | Thread Index | Old Index