Module Name: src
Committed By: skrll
Date: Wed Oct 31 09:15:25 UTC 2018
Modified Files:
src/sys/arch/evbarm/fdt: fdt_machdep.c
Log Message:
Fix VERBOSE_INIT_ARM build
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/evbarm/fdt/fdt_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/fdt/fdt_machdep.c
diff -u src/sys/arch/evbarm/fdt/fdt_machdep.c:1.49 src/sys/arch/evbarm/fdt/fdt_machdep.c:1.50
--- src/sys/arch/evbarm/fdt/fdt_machdep.c:1.49 Tue Oct 30 21:32:35 2018
+++ src/sys/arch/evbarm/fdt/fdt_machdep.c Wed Oct 31 09:15:25 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_machdep.c,v 1.49 2018/10/30 21:32:35 jmcneill Exp $ */
+/* $NetBSD: fdt_machdep.c,v 1.50 2018/10/31 09:15:25 skrll Exp $ */
/*-
* Copyright (c) 2015-2017 Jared McNeill <[email protected]>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.49 2018/10/30 21:32:35 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.50 2018/10/31 09:15:25 skrll Exp $");
#include "opt_machdep.h"
#include "opt_bootconfig.h"
@@ -241,7 +241,7 @@ fdt_add_dram_blocks(const struct fdt_mem
{
BootConfig *bc = arg;
- VPRINTF(" %lx - %lx\n", m->start, m->end - 1);
+ VPRINTF(" %llx - %llx\n", m->start, m->end - 1);
bc->dram[bc->dramblocks].address = m->start;
bc->dram[bc->dramblocks].pages =
(m->end - m->start) / PAGE_SIZE;
@@ -257,7 +257,7 @@ fdt_add_boot_physmem(const struct fdt_me
{
struct boot_physmem *bp = &fdt_physmem[nfdt_physmem++];
- VPRINTF(" %lx - %lx\n", m->start, m->end - 1);
+ VPRINTF(" %llx - %llx\n", m->start, m->end - 1);
KASSERT(nfdt_physmem <= MAX_PHYSMEM);