Move MODULE_DEPEND() statements for SYSVIPC dependencies to linux_ipc.c
so that they aren't duplicated 3 times and are also in the same file as the code that depends on the SYSVIPC modules.
This commit is contained in:
parent
bca7902961
commit
813a5e14ec
@ -66,10 +66,6 @@ __FBSDID("$FreeBSD$");
|
||||
#undef szsigcode
|
||||
|
||||
MODULE_VERSION(linux, 1);
|
||||
MODULE_DEPEND(linux, osf1, 1, 1, 1);
|
||||
MODULE_DEPEND(linux, sysvmsg, 1, 1, 1);
|
||||
MODULE_DEPEND(linux, sysvsem, 1, 1, 1);
|
||||
MODULE_DEPEND(linux, sysvshm, 1, 1, 1);
|
||||
|
||||
MALLOC_DEFINE(M_LINUX, "linux", "Linux mode structures");
|
||||
|
||||
@ -288,4 +284,5 @@ static moduledata_t linux_elf_mod = {
|
||||
|
||||
DUMMY(rt_sigreturn);
|
||||
|
||||
MODULE_DEPEND(linux, osf1, 1, 1, 1);
|
||||
DECLARE_MODULE(linuxelf, linux_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY);
|
||||
|
@ -84,9 +84,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <compat/linux/linux_util.h>
|
||||
|
||||
MODULE_VERSION(linux, 1);
|
||||
MODULE_DEPEND(linux, sysvmsg, 1, 1, 1);
|
||||
MODULE_DEPEND(linux, sysvsem, 1, 1, 1);
|
||||
MODULE_DEPEND(linux, sysvshm, 1, 1, 1);
|
||||
|
||||
MALLOC_DEFINE(M_LINUX, "linux", "Linux mode structures");
|
||||
|
||||
|
@ -815,3 +815,7 @@ linux_shmctl(struct thread *td, struct linux_shmctl_args *args)
|
||||
return EINVAL;
|
||||
}
|
||||
}
|
||||
|
||||
MODULE_DEPEND(linux, sysvmsg, 1, 1, 1);
|
||||
MODULE_DEPEND(linux, sysvsem, 1, 1, 1);
|
||||
MODULE_DEPEND(linux, sysvshm, 1, 1, 1);
|
||||
|
@ -73,9 +73,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <compat/linux/linux_util.h>
|
||||
|
||||
MODULE_VERSION(linux, 1);
|
||||
MODULE_DEPEND(linux, sysvmsg, 1, 1, 1);
|
||||
MODULE_DEPEND(linux, sysvsem, 1, 1, 1);
|
||||
MODULE_DEPEND(linux, sysvshm, 1, 1, 1);
|
||||
|
||||
MALLOC_DEFINE(M_LINUX, "linux", "Linux mode structures");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user