git: d93451762782 - stable/13 - bhyve: Remove some unneeded includes of segments.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jun 2023 19:52:30 UTC
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=d93451762782c89ab01480615e2f4da154b7733c
commit d93451762782c89ab01480615e2f4da154b7733c
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-06-08 21:24:45 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-06-26 19:52:08 +0000
bhyve: Remove some unneeded includes of segments.h
They are not needed and are specific to x86. No functional change
intended.
MFC after: 1 week
Sponsored by: Innovate UK
(cherry picked from commit 6d1dfc87416f451164e79ebdc4a0fb53b001bfd9)
---
usr.sbin/bhyve/inout.c | 1 -
usr.sbin/bhyve/snapshot.c | 1 -
usr.sbin/bhyve/task_switch.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/usr.sbin/bhyve/inout.c b/usr.sbin/bhyve/inout.c
index 225697906393..6e58f544b452 100644
--- a/usr.sbin/bhyve/inout.c
+++ b/usr.sbin/bhyve/inout.c
@@ -37,7 +37,6 @@ __FBSDID("$FreeBSD$");
#include <sys/mman.h>
#include <x86/psl.h>
-#include <x86/segments.h>
#include <machine/vmm.h>
#include <machine/vmm_instruction_emul.h>
diff --git a/usr.sbin/bhyve/snapshot.c b/usr.sbin/bhyve/snapshot.c
index 37aba32a1929..3f805192bb99 100644
--- a/usr.sbin/bhyve/snapshot.c
+++ b/usr.sbin/bhyve/snapshot.c
@@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$");
#include <sys/un.h>
#include <machine/atomic.h>
-#include <machine/segments.h>
#ifndef WITHOUT_CAPSICUM
#include <capsicum_helpers.h>
diff --git a/usr.sbin/bhyve/task_switch.c b/usr.sbin/bhyve/task_switch.c
index 0dfb536f09f8..1aac3c4bfea4 100644
--- a/usr.sbin/bhyve/task_switch.c
+++ b/usr.sbin/bhyve/task_switch.c
@@ -34,7 +34,6 @@ __FBSDID("$FreeBSD$");
#include <sys/mman.h>
#include <x86/psl.h>
-#include <x86/segments.h>
#include <x86/specialreg.h>
#include <machine/vmm.h>
#include <machine/vmm_instruction_emul.h>