patch-2.3.15 linux/kernel/module.c
Next file: linux/kernel/panic.c
Previous file: linux/kernel/itimer.c
Back to the patch index
Back to the overall index
- Lines: 77
- Date:
Wed Aug 25 14:45:50 1999
- Orig file:
v2.3.14/linux/kernel/module.c
- Orig date:
Thu Jul 29 13:37:22 1999
diff -u --recursive --new-file v2.3.14/linux/kernel/module.c linux/kernel/module.c
@@ -57,7 +57,7 @@
* Called at boot time
*/
-__initfunc(void init_modules(void))
+void __init init_modules(void)
{
kernel_module.nsyms = __stop___ksymtab - __start___ksymtab;
@@ -157,7 +157,7 @@
* Initialize a module.
*/
-asmlinkage int
+asmlinkage long
sys_init_module(const char *name_user, struct module *mod_user)
{
struct module mod_tmp, *mod;
@@ -349,7 +349,7 @@
return error;
}
-asmlinkage int
+asmlinkage long
sys_delete_module(const char *name_user)
{
struct module *mod, *next;
@@ -624,7 +624,7 @@
return error;
}
-asmlinkage int
+asmlinkage long
sys_query_module(const char *name_user, int which, char *buf, size_t bufsize,
size_t *ret)
{
@@ -689,7 +689,7 @@
* which does not arbitrarily limit the length of symbols.
*/
-asmlinkage int
+asmlinkage long
sys_get_kernel_syms(struct kernel_sym *table)
{
struct module *mod;
@@ -977,19 +977,19 @@
return -ENOSYS;
}
-asmlinkage int
+asmlinkage long
sys_init_module(const char *name_user, struct module *mod_user)
{
return -ENOSYS;
}
-asmlinkage int
+asmlinkage long
sys_delete_module(const char *name_user)
{
return -ENOSYS;
}
-asmlinkage int
+asmlinkage long
sys_query_module(const char *name_user, int which, char *buf, size_t bufsize,
size_t *ret)
{
@@ -1001,7 +1001,7 @@
return -ENOSYS;
}
-asmlinkage int
+asmlinkage long
sys_get_kernel_syms(struct kernel_sym *table)
{
return -ENOSYS;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)