linux(4): Get rid of the opt_compat.h include.

Since e013e369 COMPAT_LINUX, COMPAT_LINUX32 build options are removed,
so include of opt_compat.h is no more needed.

MFC after:		2 weeks
This commit is contained in:
Dmitry Chagin 2023-02-12 20:24:32 +03:00
parent fcfdb76e12
commit 10d16789a3
24 changed files with 0 additions and 46 deletions

View File

@ -33,8 +33,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/capsicum.h> #include <sys/capsicum.h>
#include <sys/clock.h> #include <sys/clock.h>

View File

@ -32,8 +32,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "opt_compat.h"
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");

View File

@ -28,8 +28,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/kernel.h> #include <sys/kernel.h>
#include <sys/sdt.h> #include <sys/sdt.h>

View File

@ -40,8 +40,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/exec.h> #include <sys/exec.h>
#include <sys/imgact.h> #include <sys/imgact.h>

View File

@ -29,8 +29,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/imgact.h> #include <sys/imgact.h>

View File

@ -29,8 +29,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/capsicum.h> #include <sys/capsicum.h>

View File

@ -31,8 +31,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/imgact.h> #include <sys/imgact.h>

View File

@ -29,8 +29,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/imgact.h> #include <sys/imgact.h>

View File

@ -38,8 +38,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/vnode.h> #include <sys/vnode.h>

View File

@ -26,8 +26,6 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#include "opt_compat.h"
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");

View File

@ -40,8 +40,6 @@ __FBSDID("$FreeBSD$");
#include <sys/shm.h> #include <sys/shm.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "opt_compat.h"
#ifdef COMPAT_LINUX32 #ifdef COMPAT_LINUX32
#include <machine/../linux32/linux.h> #include <machine/../linux32/linux.h>
#include <machine/../linux32/linux32_proto.h> #include <machine/../linux32/linux32_proto.h>

View File

@ -32,8 +32,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/blist.h> #include <sys/blist.h>
#include <sys/fcntl.h> #include <sys/fcntl.h>

View File

@ -47,8 +47,6 @@ __FBSDID("$FreeBSD$");
#include <security/audit/audit.h> #include <security/audit/audit.h>
#include "opt_compat.h"
#ifdef COMPAT_LINUX32 #ifdef COMPAT_LINUX32
#include <machine/../linux32/linux.h> #include <machine/../linux32/linux.h>
#include <machine/../linux32/linux32_proto.h> #include <machine/../linux32/linux32_proto.h>

View File

@ -29,8 +29,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
/* XXX we use functions that might not exist. */
#include "opt_compat.h"
#include "opt_inet6.h" #include "opt_inet6.h"
#include <sys/param.h> #include <sys/param.h>

View File

@ -29,8 +29,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/capsicum.h> #include <sys/capsicum.h>
#include <sys/dirent.h> #include <sys/dirent.h>

View File

@ -29,8 +29,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/kernel.h> #include <sys/kernel.h>
#include <sys/lock.h> #include <sys/lock.h>

View File

@ -37,8 +37,6 @@ __FBSDID("$FreeBSD$");
__KERNEL_RCSID(0, "$NetBSD: linux_time.c,v 1.14 2006/05/14 03:40:54 christos Exp $"); __KERNEL_RCSID(0, "$NetBSD: linux_time.c,v 1.14 2006/05/14 03:40:54 christos Exp $");
#endif #endif
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/kernel.h> #include <sys/kernel.h>
#include <sys/lock.h> #include <sys/lock.h>

View File

@ -30,8 +30,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/errno.h> #include <sys/errno.h>
#include <sys/signal.h> #include <sys/signal.h>

View File

@ -29,8 +29,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/fcntl.h> #include <sys/fcntl.h>
#include <sys/param.h> #include <sys/param.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -26,8 +26,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) #if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32))
#define __ELF_WORD_SIZE 32 #define __ELF_WORD_SIZE 32
#else #else

View File

@ -31,8 +31,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/imgact.h> #include <sys/imgact.h>

View File

@ -34,7 +34,6 @@ SRCS= linux${SFX}_dummy_machdep.c \
linux_timer.c \ linux_timer.c \
linux_uid16.c \ linux_uid16.c \
linux_vdso.c \ linux_vdso.c \
opt_compat.h \
opt_inet6.h \ opt_inet6.h \
opt_ktrace.h \ opt_ktrace.h \
opt_posix.h \ opt_posix.h \

View File

@ -29,7 +29,6 @@ SRCS= linux_dummy_machdep.c \
linux_time.c \ linux_time.c \
linux_vdso.c \ linux_vdso.c \
linux_timer.c \ linux_timer.c \
opt_compat.h \
opt_ktrace.h \ opt_ktrace.h \
opt_inet6.h \ opt_inet6.h \
opt_posix.h \ opt_posix.h \

View File

@ -28,8 +28,6 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/kernel.h> #include <sys/kernel.h>
#include <sys/sdt.h> #include <sys/sdt.h>