Module Name:    src
Committed By:   ryo
Date:           Wed Mar 14 06:35:31 UTC 2018

Modified Files:
        src/sys/arch/evbarm/fdt: platform.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/fdt/platform.h

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/platform.h
diff -u src/sys/arch/evbarm/fdt/platform.h:1.2 src/sys/arch/evbarm/fdt/platform.h:1.3
--- src/sys/arch/evbarm/fdt/platform.h:1.2	Sun Dec 10 21:38:27 2017
+++ src/sys/arch/evbarm/fdt/platform.h	Wed Mar 14 06:35:31 2018
@@ -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 <jmcne...@invisible.ca>
@@ -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

Reply via email to