Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include/arm32 Need to include <sys/cdefs.h> so ...



details:   https://anonhg.NetBSD.org/src/rev/b1837ece9523
branches:  trunk
changeset: 997895:b1837ece9523
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 30 21:06:42 2019 +0000

description:
Need to include <sys/cdefs.h> so that the _ARM_CPU* macros get defined
so that we always select the correct page size (8K for armv6+).

diffstat:

 sys/arch/arm/include/arm32/vmparam.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r ab6d6c6267ce -r b1837ece9523 sys/arch/arm/include/arm32/vmparam.h
--- a/sys/arch/arm/include/arm32/vmparam.h      Sat Mar 30 17:41:13 2019 +0000
+++ b/sys/arch/arm/include/arm32/vmparam.h      Sat Mar 30 21:06:42 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.43 2019/03/27 17:15:29 christos Exp $    */
+/*     $NetBSD: vmparam.h,v 1.44 2019/03/30 21:06:42 christos Exp $    */
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -43,6 +43,7 @@
  * Virtual Memory parameters common to all arm32 platforms.
  */
 
+#include <sys/cdefs.h>
 #include <arm/cpuconf.h>
 #include <arm/arm32/param.h>
 



Home | Main Index | Thread Index | Old Index