Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2018 09:07:18 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335934 - in head/sys: cam cam/ata cam/nvme cam/scsi dev/acpica/Osd dev/pccbb kern
Message-ID:  <201807040907.w6497I8G069619@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Wed Jul  4 09:07:18 2018
New Revision: 335934
URL: https://svnweb.freebsd.org/changeset/base/335934

Log:
  remove unneeded inclusion of sys/interrupt.h from several files
  
  It's likely that the header was needed in the past for swi(9).
  But now that code does not use swi(9) or any other interfaces defined
  in sys/interrupt.h.
  
  MFC after:	1 week

Modified:
  head/sys/cam/ata/ata_xpt.c
  head/sys/cam/cam_xpt.c
  head/sys/cam/nvme/nvme_xpt.c
  head/sys/cam/scsi/scsi_xpt.c
  head/sys/dev/acpica/Osd/OsdSchedule.c
  head/sys/dev/pccbb/pccbb.c
  head/sys/kern/subr_bus.c

Modified: head/sys/cam/ata/ata_xpt.c
==============================================================================
--- head/sys/cam/ata/ata_xpt.c	Wed Jul  4 07:37:45 2018	(r335933)
+++ head/sys/cam/ata/ata_xpt.c	Wed Jul  4 09:07:18 2018	(r335934)
@@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/time.h>
 #include <sys/conf.h>
 #include <sys/fcntl.h>
-#include <sys/interrupt.h>
 #include <sys/sbuf.h>
 
 #include <sys/eventhandler.h>

Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c	Wed Jul  4 07:37:45 2018	(r335933)
+++ head/sys/cam/cam_xpt.c	Wed Jul  4 09:07:18 2018	(r335934)
@@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/time.h>
 #include <sys/conf.h>
 #include <sys/fcntl.h>
-#include <sys/interrupt.h>
 #include <sys/proc.h>
 #include <sys/sbuf.h>
 #include <sys/smp.h>

Modified: head/sys/cam/nvme/nvme_xpt.c
==============================================================================
--- head/sys/cam/nvme/nvme_xpt.c	Wed Jul  4 07:37:45 2018	(r335933)
+++ head/sys/cam/nvme/nvme_xpt.c	Wed Jul  4 09:07:18 2018	(r335934)
@@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/time.h>
 #include <sys/conf.h>
 #include <sys/fcntl.h>
-#include <sys/interrupt.h>
 #include <sys/sbuf.h>
 
 #include <sys/lock.h>

Modified: head/sys/cam/scsi/scsi_xpt.c
==============================================================================
--- head/sys/cam/scsi/scsi_xpt.c	Wed Jul  4 07:37:45 2018	(r335933)
+++ head/sys/cam/scsi/scsi_xpt.c	Wed Jul  4 09:07:18 2018	(r335934)
@@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/conf.h>
 #include <sys/fcntl.h>
 #include <sys/md5.h>
-#include <sys/interrupt.h>
 #include <sys/sbuf.h>
 
 #include <sys/lock.h>

Modified: head/sys/dev/acpica/Osd/OsdSchedule.c
==============================================================================
--- head/sys/dev/acpica/Osd/OsdSchedule.c	Wed Jul  4 07:37:45 2018	(r335933)
+++ head/sys/dev/acpica/Osd/OsdSchedule.c	Wed Jul  4 09:07:18 2018	(r335934)
@@ -37,7 +37,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/bus.h>
-#include <sys/interrupt.h>
 #include <sys/kernel.h>
 #include <sys/kthread.h>
 #include <sys/malloc.h>

Modified: head/sys/dev/pccbb/pccbb.c
==============================================================================
--- head/sys/dev/pccbb/pccbb.c	Wed Jul  4 07:37:45 2018	(r335933)
+++ head/sys/dev/pccbb/pccbb.c	Wed Jul  4 09:07:18 2018	(r335934)
@@ -86,7 +86,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/kernel.h>
 #include <sys/module.h>
 #include <sys/kthread.h>
-#include <sys/interrupt.h>
 #include <sys/lock.h>
 #include <sys/malloc.h>
 #include <sys/mutex.h>

Modified: head/sys/kern/subr_bus.c
==============================================================================
--- head/sys/kern/subr_bus.c	Wed Jul  4 07:37:45 2018	(r335933)
+++ head/sys/kern/subr_bus.c	Wed Jul  4 09:07:18 2018	(r335934)
@@ -59,7 +59,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/systm.h>
 #include <sys/uio.h>
 #include <sys/bus.h>
-#include <sys/interrupt.h>
 #include <sys/cpuset.h>
 
 #include <net/vnet.h>



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