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:
John Baldwin 2005-07-29 19:40:39 +00:00
parent bca7902961
commit 813a5e14ec
4 changed files with 5 additions and 10 deletions

View File

@ -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);

View File

@ -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");

View File

@ -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);

View File

@ -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");