From 1da2fbfb53944377439a142c280d79f5e22dbe28 Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 5 Mar 2020 10:52:16 +0000 Subject: [PATCH] Mark the arm64 machdep.h as kernel only None of this is useful for userspace. Sponsored by: Innovate UK --- sys/arm64/include/machdep.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/arm64/include/machdep.h b/sys/arm64/include/machdep.h index 11d3f2a0371..4a39020d8f7 100644 --- a/sys/arm64/include/machdep.h +++ b/sys/arm64/include/machdep.h @@ -29,6 +29,8 @@ #ifndef _MACHINE_MACHDEP_H_ #define _MACHINE_MACHDEP_H_ +#ifdef _KERNEL + struct arm64_bootparams { vm_offset_t modulep; vm_offset_t kern_l1pt; /* L1 page table for the kernel */ @@ -56,4 +58,6 @@ void parse_fdt_bootargs(void); #endif extern void (*pagezero)(void *); +#endif /* _KERNEL */ + #endif /* _MACHINE_MACHDEP_H_ */ -- 2.45.0