Module Name: src Committed By: riastradh Date: Wed Jul 20 01:35:26 UTC 2022
Modified Files: src/sys/arch/aarch64/include: cpufunc.h Log Message: aarch64: Make cpufunc.h includable without sys/cpu.h first. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/aarch64/include/cpufunc.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/aarch64/include/cpufunc.h diff -u src/sys/arch/aarch64/include/cpufunc.h:1.23 src/sys/arch/aarch64/include/cpufunc.h:1.24 --- src/sys/arch/aarch64/include/cpufunc.h:1.23 Mon Jan 31 09:16:09 2022 +++ src/sys/arch/aarch64/include/cpufunc.h Wed Jul 20 01:35:25 2022 @@ -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 <r...@nerv.org> @@ -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;