xref: /netbsd-src/sys/compat/linux/arch/amd64/linux_commons.c (revision de4fa9d769f936338f7afc544868130152eb472b)
1 /*	$NetBSD: linux_commons.c,v 1.13 2021/10/12 08:36:28 andvar Exp $ */
2 
3 /*
4  * This file includes C files from the common
5  * area to decrease the number of files to compile
6  * in order to make building a kernel go faster.
7  *
8  * Option headers and headers which depend on
9  * certain options being set need to be included
10  * here.  This ensures that a header file sees
11  * the options it needs even if one of included
12  * C files doesn't use it.
13  */
14 
15 #include <sys/cdefs.h>
16 __KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.13 2021/10/12 08:36:28 andvar Exp $");
17 
18 #if defined(_KERNEL_OPT)
19 #include "opt_sysv.h"
20 #endif
21 
22 #include <sys/param.h>
23 #include <sys/mount.h>
24 #include <sys/signal.h>
25 #include <sys/syscallargs.h>
26 
27 #include <compat/linux/common/linux_signal.h>
28 #include <compat/linux/common/linux_types.h>
29 #include <compat/linux/common/linux_ipc.h>
30 #include <compat/linux/common/linux_sem.h>
31 
32 #include <compat/linux/linux_syscallargs.h>
33 
34 #include "../../common/linux_pipe.c"
35 #include "../../common/linux_file64.c"
36 #include "../../common/linux_misc_notalpha.c"
37 #include "../../common/linux_sig_notalpha.c"
38 #include "../../common/linux_fadvise64.c"
39