1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-27 15:46:02 +00:00

remove unneeded vmparam.h include from pte.h

include vmparam.h in process_machdep for USER_SPACE_BITS
This commit is contained in:
jsg
2024-10-14 12:02:16 +00:00
parent 456b8adfdd
commit 999a7581f8
3 changed files with 4 additions and 7 deletions

View File

@@ -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 <patrick@blueri.se>
*
@@ -48,6 +48,7 @@
#include <machine/fpu.h>
#include <machine/pcb.h>
#include <machine/reg.h>
#include <machine/vmparam.h>
#include <arm64/armreg.h>

View File

@@ -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 <drahn@dalerahn.com>
*
@@ -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)

View File

@@ -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 <bbamsch@google.com>
@@ -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 */