Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/fdt fix compile error on evbarm/EXYNOS. plat...



details:   https://anonhg.NetBSD.org/src/rev/4f447e7df260
branches:  trunk
changeset: 360496:4f447e7df260
user:      ryo <ryo%NetBSD.org@localhost>
date:      Wed Mar 14 06:35:31 2018 +0000

description:
fix compile error on evbarm/EXYNOS. platform.h may be included from *.S

diffstat:

 sys/arch/evbarm/fdt/platform.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 822ab211feff -r 4f447e7df260 sys/arch/evbarm/fdt/platform.h
--- a/sys/arch/evbarm/fdt/platform.h    Wed Mar 14 06:06:40 2018 +0000
+++ b/sys/arch/evbarm/fdt/platform.h    Wed Mar 14 06:35:31 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: platform.h,v 1.2 2017/12/10 21:38:27 skrll Exp $ */
+/* $NetBSD: platform.h,v 1.3 2018/03/14 06:35:31 ryo Exp $ */
 
 /*-
  * Copyright (c) 2015-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,9 @@
 #ifndef _EVBARM_FDT_PLATFORM_H
 #define _EVBARM_FDT_PLATFORM_H
 
+#ifndef _LOCORE
 void fdt_add_reserved_memory_range(uint64_t, uint64_t);
+#endif
 
 #ifdef __HAVE_MM_MD_DIRECT_MAPPED_PHYS
 #define KERNEL_VM_BASE         0xc0000000



Home | Main Index | Thread Index | Old Index