xref: /netbsd-src/sys/compat/linux/arch/i386/linux_commons.c (revision de4fa9d769f936338f7afc544868130152eb472b)
1*de4fa9d7Sandvar /*	$NetBSD: linux_commons.c,v 1.18 2021/10/12 08:36:29 andvar Exp $	*/
2b19295f3Serh 
3b19295f3Serh /*
4b19295f3Serh  * This file includes C files from the common
5*de4fa9d7Sandvar  * area to decrease the number of files to compile
6b19295f3Serh  * in order to make building a kernel go faster.
7b19295f3Serh  *
8b19295f3Serh  * Option headers and headers which depend on
9b19295f3Serh  * certain options being set need to be included
10b19295f3Serh  * here.  This ensures that a header file sees
11b19295f3Serh  * the options it needs even if one of included
12b19295f3Serh  * C files doesn't use it.
13b19295f3Serh  */
14b19295f3Serh 
15dab6ef8bSlukem #include <sys/cdefs.h>
16*de4fa9d7Sandvar __KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.18 2021/10/12 08:36:29 andvar Exp $");
17dab6ef8bSlukem 
186a89288aSmrg #if defined(_KERNEL_OPT)
19b19295f3Serh #include "opt_sysv.h"
2029fd738fSjdolecek #endif
21b19295f3Serh 
22b19295f3Serh #include <sys/param.h>
23b19295f3Serh #include <sys/mount.h>
24b19295f3Serh #include <sys/signal.h>
25b19295f3Serh #include <sys/syscallargs.h>
26b19295f3Serh 
27b19295f3Serh #include "../../common/linux_pipe.c"
28daff00c2Sjdolecek #include "../../common/linux_file64.c"
297e5ac707Sdsl #include "../../common/linux_fcntl64.c"
30b19295f3Serh #include "../../common/linux_ipccall.c"
31b19295f3Serh #include "../../common/linux_misc_notalpha.c"
32b19295f3Serh #include "../../common/linux_sig_notalpha.c"
33b19295f3Serh #include "../../common/linux_sigaction.c"
34b19295f3Serh #include "../../common/linux_socketcall.c"
35b19295f3Serh #include "../../common/linux_llseek.c"
36b19295f3Serh #include "../../common/linux_break.c"
37b19295f3Serh #include "../../common/linux_oldmmap.c"
38b19295f3Serh #include "../../common/linux_oldselect.c"
39b19295f3Serh #include "../../common/linux_olduname.c"
40b19295f3Serh #include "../../common/linux_oldolduname.c"
415cec0f49Snjoly #include "../../common/linux_uid16.c"
429ff7ba5bSnjoly #include "../../common/linux_fadvise64.c"
439ff7ba5bSnjoly #include "../../common/linux_fadvise64_64.c"
44