summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-11-18 17:06:56 +0000
committerimp <imp@FreeBSD.org>2014-11-18 17:06:56 +0000
commite1fec13f7cef7b49d69de5005ed534c8652e0621 (patch)
tree960c43a979cde55d9911832483cd32cae5cb4a31
parent1b55bc0f40c097311c00a2d0faa1aa2267f755d3 (diff)
downloadFreeBSD-src-e1fec13f7cef7b49d69de5005ed534c8652e0621.zip
FreeBSD-src-e1fec13f7cef7b49d69de5005ed534c8652e0621.tar.gz
opt_global.h is included automatically in the build. No need to
explicitly include it in these places. Sponsored by: Netflix
-rw-r--r--sys/arm/arm/stdatomic.c4
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_common.c2
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_machdep.c1
-rw-r--r--sys/arm/freescale/imx/imx_common.c2
-rw-r--r--sys/arm/include/asmacros.h1
-rw-r--r--sys/arm/mv/mv_common.c2
-rw-r--r--sys/arm/ti/ti_common.c2
-rw-r--r--sys/arm/versatile/versatile_common.c2
-rw-r--r--sys/arm/versatile/versatile_machdep.c1
-rw-r--r--sys/arm/xilinx/uart_dev_cdnc.c2
-rw-r--r--sys/arm/xilinx/zy7_machdep.c2
-rw-r--r--sys/dev/xen/netback/netback.c1
-rw-r--r--sys/i386/xen/locore.s1
-rw-r--r--sys/kern/kern_mutex.c1
-rw-r--r--sys/mips/mips/stdatomic.c4
-rw-r--r--sys/mips/mips/trap.c1
-rw-r--r--sys/xen/gnttab.c1
17 files changed, 0 insertions, 30 deletions
diff --git a/sys/arm/arm/stdatomic.c b/sys/arm/arm/stdatomic.c
index a2db9f0..301e0a6 100644
--- a/sys/arm/arm/stdatomic.c
+++ b/sys/arm/arm/stdatomic.c
@@ -34,10 +34,6 @@ __FBSDID("$FreeBSD$");
#include <machine/cpufunc.h>
#include <machine/sysarch.h>
-#ifdef _KERNEL
-#include "opt_global.h"
-#endif
-
/*
* Executing statements with interrupts disabled.
*/
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_common.c b/sys/arm/broadcom/bcm2835/bcm2835_common.c
index 5c3c258..a534957 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_common.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_common.c
@@ -29,8 +29,6 @@
* SUCH DAMAGE.
*/
-#include "opt_global.h"
-
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_machdep.c b/sys/arm/broadcom/bcm2835/bcm2835_machdep.c
index 0571c55..051593a 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_machdep.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_machdep.c
@@ -38,7 +38,6 @@
#include "opt_ddb.h"
#include "opt_platform.h"
-#include "opt_global.h"
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/sys/arm/freescale/imx/imx_common.c b/sys/arm/freescale/imx/imx_common.c
index d8fef82..3b7139c 100644
--- a/sys/arm/freescale/imx/imx_common.c
+++ b/sys/arm/freescale/imx/imx_common.c
@@ -33,8 +33,6 @@
* SUCH DAMAGE.
*/
-#include "opt_global.h"
-
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/sys/arm/include/asmacros.h b/sys/arm/include/asmacros.h
index 0767e73..d7f804f 100644
--- a/sys/arm/include/asmacros.h
+++ b/sys/arm/include/asmacros.h
@@ -34,7 +34,6 @@
#ifdef _KERNEL
#ifdef LOCORE
-#include "opt_global.h"
#ifdef _ARM_ARCH_6
#define GET_CURTHREAD_PTR(tmp) \
diff --git a/sys/arm/mv/mv_common.c b/sys/arm/mv/mv_common.c
index 44c22cb..d62efc4 100644
--- a/sys/arm/mv/mv_common.c
+++ b/sys/arm/mv/mv_common.c
@@ -29,8 +29,6 @@
* SUCH DAMAGE.
*/
-#include "opt_global.h"
-
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/sys/arm/ti/ti_common.c b/sys/arm/ti/ti_common.c
index 983e6f8..5fb72b7 100644
--- a/sys/arm/ti/ti_common.c
+++ b/sys/arm/ti/ti_common.c
@@ -29,8 +29,6 @@
* SUCH DAMAGE.
*/
-#include "opt_global.h"
-
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/sys/arm/versatile/versatile_common.c b/sys/arm/versatile/versatile_common.c
index 766db9d..7a9e42f 100644
--- a/sys/arm/versatile/versatile_common.c
+++ b/sys/arm/versatile/versatile_common.c
@@ -29,8 +29,6 @@
* SUCH DAMAGE.
*/
-#include "opt_global.h"
-
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/sys/arm/versatile/versatile_machdep.c b/sys/arm/versatile/versatile_machdep.c
index ef531e1..2869f1b 100644
--- a/sys/arm/versatile/versatile_machdep.c
+++ b/sys/arm/versatile/versatile_machdep.c
@@ -35,7 +35,6 @@
#include "opt_ddb.h"
#include "opt_platform.h"
-#include "opt_global.h"
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/sys/arm/xilinx/uart_dev_cdnc.c b/sys/arm/xilinx/uart_dev_cdnc.c
index 6224503..526c546 100644
--- a/sys/arm/xilinx/uart_dev_cdnc.c
+++ b/sys/arm/xilinx/uart_dev_cdnc.c
@@ -38,8 +38,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_global.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
diff --git a/sys/arm/xilinx/zy7_machdep.c b/sys/arm/xilinx/zy7_machdep.c
index 5fb5788..f7080dc 100644
--- a/sys/arm/xilinx/zy7_machdep.c
+++ b/sys/arm/xilinx/zy7_machdep.c
@@ -33,8 +33,6 @@
* (v1.4) November 16, 2012. Xilinx doc UG585.
*/
-#include "opt_global.h"
-
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/sys/dev/xen/netback/netback.c b/sys/dev/xen/netback/netback.c
index 201e5d6..a749f90 100644
--- a/sys/dev/xen/netback/netback.c
+++ b/sys/dev/xen/netback/netback.c
@@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$");
*/
#include "opt_inet.h"
#include "opt_inet6.h"
-#include "opt_global.h"
#include "opt_sctp.h"
diff --git a/sys/i386/xen/locore.s b/sys/i386/xen/locore.s
index b67046e..7e67684 100644
--- a/sys/i386/xen/locore.s
+++ b/sys/i386/xen/locore.s
@@ -42,7 +42,6 @@
#include "opt_bootp.h"
#include "opt_compat.h"
#include "opt_nfsroot.h"
-#include "opt_global.h"
#include "opt_pmap.h"
#include <sys/syscall.h>
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index 467ae1c..d984908 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -38,7 +38,6 @@ __FBSDID("$FreeBSD$");
#include "opt_adaptive_mutexes.h"
#include "opt_ddb.h"
-#include "opt_global.h"
#include "opt_hwpmc_hooks.h"
#include "opt_sched.h"
diff --git a/sys/mips/mips/stdatomic.c b/sys/mips/mips/stdatomic.c
index a587446..f9fb590 100644
--- a/sys/mips/mips/stdatomic.c
+++ b/sys/mips/mips/stdatomic.c
@@ -33,10 +33,6 @@ __FBSDID("$FreeBSD$");
#include <sys/stdatomic.h>
#include <sys/types.h>
-#ifdef _KERNEL
-#include "opt_global.h"
-#endif
-
#if defined(__SYNC_ATOMICS)
/*
diff --git a/sys/mips/mips/trap.c b/sys/mips/mips/trap.c
index df5efc0..a4405ae 100644
--- a/sys/mips/mips/trap.c
+++ b/sys/mips/mips/trap.c
@@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include "opt_ddb.h"
-#include "opt_global.h"
#include "opt_ktrace.h"
#include <sys/param.h>
diff --git a/sys/xen/gnttab.c b/sys/xen/gnttab.c
index ca6fa3b..9ab3145 100644
--- a/sys/xen/gnttab.c
+++ b/sys/xen/gnttab.c
@@ -13,7 +13,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_global.h"
#include "opt_pmap.h"
#include <sys/param.h>
OpenPOWER on IntegriCloud