Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/include aarch64: Make cpufunc.h includable ...



details:   https://anonhg.NetBSD.org/src/rev/cc7a94b5ed2c
branches:  trunk
changeset: 368579:cc7a94b5ed2c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 20 01:35:25 2022 +0000

description:
aarch64: Make cpufunc.h includable without sys/cpu.h first.

diffstat:

 sys/arch/aarch64/include/cpufunc.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r acf37deeba3c -r cc7a94b5ed2c sys/arch/aarch64/include/cpufunc.h
--- a/sys/arch/aarch64/include/cpufunc.h        Wed Jul 20 01:22:38 2022 +0000
+++ b/sys/arch/aarch64/include/cpufunc.h        Wed Jul 20 01:35:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpufunc.h,v 1.23 2022/01/31 09:16:09 ryo Exp $ */
+/*     $NetBSD: cpufunc.h,v 1.24 2022/07/20 01:35:25 riastradh Exp $   */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -34,6 +34,7 @@
 #include <arm/armreg.h>
 #include <sys/device_if.h>
 
+#include <sys/cpu.h>
 
 extern u_int aarch64_cache_vindexsize; /* cachesize/way (VIVT/VIPT) */
 extern u_int aarch64_cache_prefer_mask;



Home | Main Index | Thread Index | Old Index