From 999a7581f82160625628ebcc08d79b3c296a7d3b Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 14 Oct 2024 12:02:16 +0000 Subject: [PATCH] remove unneeded vmparam.h include from pte.h include vmparam.h in process_machdep for USER_SPACE_BITS --- sys/arch/arm64/arm64/process_machdep.c | 3 ++- sys/arch/arm64/include/pte.h | 4 +--- sys/arch/riscv64/include/pte.h | 4 +--- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/sys/arch/arm64/arm64/process_machdep.c b/sys/arch/arm64/arm64/process_machdep.c index e57d7f37188..096786120ad 100644 --- a/sys/arch/arm64/arm64/process_machdep.c +++ b/sys/arch/arm64/arm64/process_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: process_machdep.c,v 1.8 2023/06/10 19:30:48 kettenis Exp $ */ +/* $OpenBSD: process_machdep.c,v 1.9 2024/10/14 12:02:16 jsg Exp $ */ /* * Copyright (c) 2014 Patrick Wildt * @@ -48,6 +48,7 @@ #include #include #include +#include #include diff --git a/sys/arch/arm64/include/pte.h b/sys/arch/arm64/include/pte.h index 25a72baae6d..54d1de1de78 100644 --- a/sys/arch/arm64/include/pte.h +++ b/sys/arch/arm64/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.9 2024/09/29 12:22:57 jsg Exp $ */ +/* $OpenBSD: pte.h,v 1.10 2024/10/14 12:02:16 jsg Exp $ */ /* * Copyright (c) 2014 Dale Rahn * @@ -17,8 +17,6 @@ #ifndef _ARM_PTE_H_ #define _ARM_PTE_H_ -#include "arm64/vmparam.h" - /* level X descriptor */ #define Lx_TYPE_MASK (0x00000003) /* mask of type bits */ #define Lx_TYPE_S (0x00000001) diff --git a/sys/arch/riscv64/include/pte.h b/sys/arch/riscv64/include/pte.h index 658ec7b18d7..6d9bd29fb89 100644 --- a/sys/arch/riscv64/include/pte.h +++ b/sys/arch/riscv64/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.3 2024/01/23 19:51:10 kettenis Exp $ */ +/* $OpenBSD: pte.h,v 1.4 2024/10/14 12:02:16 jsg Exp $ */ /* * Copyright (c) 2019 Brian Bamsch @@ -19,8 +19,6 @@ #ifndef _RISCV64_PTE_H_ #define _RISCV64_PTE_H_ -#include "machine/vmparam.h" - #define Lx_TABLE_ALIGN (4096) /* Block and Page attributes */ -- 2.20.1