7e5ac7072d
Unravel some of the knots that caused linux_file64.c to be compiled twice for an amd64 kernel (once for linux and once for linux32) with different parts being skipped each time.
44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
/* $NetBSD: linux_commons.c,v 1.7 2008/02/02 19:37:52 dsl Exp $ */
|
|
|
|
/*
|
|
* This file includes C files from the common
|
|
* area to decrese the number of files to compile
|
|
* in order to make building a kernel go faster.
|
|
*
|
|
* Option headers and headers which depend on
|
|
* certain options being set need to be included
|
|
* here. This ensures that a header file sees
|
|
* the options it needs even if one of included
|
|
* C files doesn't use it.
|
|
*/
|
|
|
|
#include <sys/cdefs.h>
|
|
__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.7 2008/02/02 19:37:52 dsl Exp $");
|
|
|
|
#if defined(_KERNEL_OPT)
|
|
#include "opt_sysv.h"
|
|
#include "opt_nfsserver.h"
|
|
#include "fs_nfs.h"
|
|
#include "fs_lfs.h"
|
|
#endif
|
|
|
|
#include <sys/param.h>
|
|
#include <sys/mount.h>
|
|
#include <sys/signal.h>
|
|
#include <sys/syscallargs.h>
|
|
|
|
#include "../../common/linux_pipe.c"
|
|
#include "../../common/linux_file64.c"
|
|
#include "../../common/linux_fcntl64.c"
|
|
#include "../../common/linux_ipccall.c"
|
|
#include "../../common/linux_misc_notalpha.c"
|
|
#include "../../common/linux_sig_notalpha.c"
|
|
#include "../../common/linux_sigaction.c"
|
|
#include "../../common/linux_socketcall.c"
|
|
#include "../../common/linux_llseek.c"
|
|
#include "../../common/linux_oldmmap.c"
|
|
#include "../../common/linux_oldselect.c"
|
|
#include "../../common/linux_olduname.c"
|
|
#include "../../common/linux_oldolduname.c"
|
|
#include "../../common/linux_uid16.c"
|