Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2021 07:40:51 GMT
From:      =?utf-8?Q?Roger Pau Monn=C3=A9?= <royger@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5bb67f5f3f59 - main - xen/devices: purge uses of intr_machdep.h
Message-ID:  <202110210740.19L7epoq023501@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by royger:

URL: https://cgit.FreeBSD.org/src/commit/?id=5bb67f5f3f59d77e6f5d67b1a7fa7c514fdaff50

commit 5bb67f5f3f59d77e6f5d67b1a7fa7c514fdaff50
Author:     Elliott Mitchell <ehem+freebsd@m5p.com>
AuthorDate: 2021-04-23 02:59:22 +0000
Commit:     Roger Pau Monné <royger@FreeBSD.org>
CommitDate: 2021-10-21 07:39:16 +0000

    xen/devices: purge uses of intr_machdep.h
    
    Devices in sys/dev should be architecture-independent and NOT #include
    intr_machdep.h.
    
    Reviewed by: mhorne royger
    Differential Revision: https://reviews.freebsd.org/D29959
---
 sys/dev/xen/blkfront/blkfront.c | 1 -
 sys/dev/xen/evtchn/evtchn_dev.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/sys/dev/xen/blkfront/blkfront.c b/sys/dev/xen/blkfront/blkfront.c
index 7078cb16caa1..4f67d1f827e7 100644
--- a/sys/dev/xen/blkfront/blkfront.c
+++ b/sys/dev/xen/blkfront/blkfront.c
@@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$");
 #include <machine/bus.h>
 #include <sys/rman.h>
 #include <machine/resource.h>
-#include <machine/intr_machdep.h>
 #include <machine/vmparam.h>
 
 #include <xen/xen-os.h>
diff --git a/sys/dev/xen/evtchn/evtchn_dev.c b/sys/dev/xen/evtchn/evtchn_dev.c
index fd8e290431ba..c970404cce3c 100644
--- a/sys/dev/xen/evtchn/evtchn_dev.c
+++ b/sys/dev/xen/evtchn/evtchn_dev.c
@@ -58,7 +58,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/filio.h>
 #include <sys/vnode.h>
 
-#include <machine/intr_machdep.h>
 #include <machine/xen/synch_bitops.h>
 
 #include <xen/xen-os.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110210740.19L7epoq023501>