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/0a6cc6b2d444
branches:  trunk
changeset: 449970:0a6cc6b2d444
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 b8f0077a8d4c -r 0a6cc6b2d444 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