Use predictable internal names for the sysvipc modules, so we have a

chance of getting dependencies working.
This commit is contained in:
Dag-Erling Smørgrav 2001-01-14 18:04:30 +00:00
parent b79ad7e642
commit faa784b70c
3 changed files with 12 additions and 9 deletions

View File

@ -245,8 +245,8 @@ sysvmsg_modload(struct module *module, int cmd, void *arg)
return (error);
}
static moduledata_t sysvmsg_moduledata = {
"sysvmsg_mod",
static moduledata_t sysvmsg_mod = {
"sysvmsg",
&sysvmsg_modload,
NULL
};
@ -257,8 +257,9 @@ SYSCALL_MODULE_HELPER(msgget, 2);
SYSCALL_MODULE_HELPER(msgsnd, 4);
SYSCALL_MODULE_HELPER(msgrcv, 5);
DECLARE_MODULE(sysvmsg_mod, sysvmsg_moduledata,
DECLARE_MODULE(sysvmsg, sysvmsg_mod,
SI_SUB_SYSV_MSG, SI_ORDER_FIRST);
MODULE_VERSION(sysvmsg, 1);
/*
* Entry point for all MSG calls

View File

@ -224,8 +224,8 @@ sysvsem_modload(struct module *module, int cmd, void *arg)
return (error);
}
static moduledata_t sysvsem_moduledata = {
"sysvsem_mod",
static moduledata_t sysvsem_mod = {
"sysvsem",
&sysvsem_modload,
NULL
};
@ -235,8 +235,9 @@ SYSCALL_MODULE_HELPER(__semctl, 4);
SYSCALL_MODULE_HELPER(semget, 3);
SYSCALL_MODULE_HELPER(semop, 3);
DECLARE_MODULE(sysvsem_mod, sysvsem_moduledata,
DECLARE_MODULE(sysvsem, sysvsem_mod,
SI_SUB_SYSV_SEM, SI_ORDER_FIRST);
MODULE_VERSION(sysvsem, 1);
/*
* Entry point for all SEM calls

View File

@ -738,8 +738,8 @@ sysvshm_modload(struct module *module, int cmd, void *arg)
return (error);
}
static moduledata_t sysvshm_moduledata = {
"sysvshm_mod",
static moduledata_t sysvshm_mod = {
"sysvshm",
&sysvshm_modload,
NULL
};
@ -750,5 +750,6 @@ SYSCALL_MODULE_HELPER(shmctl, 3);
SYSCALL_MODULE_HELPER(shmdt, 1);
SYSCALL_MODULE_HELPER(shmget, 3);
DECLARE_MODULE(sysvshm_mod, sysvshm_moduledata,
DECLARE_MODULE(sysvshm, sysvshm_mod,
SI_SUB_SYSV_SHM, SI_ORDER_FIRST);
MODULE_VERSION(sysvshm, 1);