diff options
Diffstat (limited to 'insmod.c')
-rw-r--r-- | insmod.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -70,7 +70,7 @@ | |||
70 | #ifndef MODUTILS_MODULE_H | 70 | #ifndef MODUTILS_MODULE_H |
71 | #define MODUTILS_MODULE_H 1 | 71 | #define MODUTILS_MODULE_H 1 |
72 | 72 | ||
73 | #ident "$Id: insmod.c,v 1.20 2000/08/01 18:16:56 kraai Exp $" | 73 | #ident "$Id: insmod.c,v 1.21 2000/08/21 19:38:49 andersen Exp $" |
74 | 74 | ||
75 | /* This file contains the structures used by the 2.0 and 2.1 kernels. | 75 | /* This file contains the structures used by the 2.0 and 2.1 kernels. |
76 | We do not use the kernel headers directly because we do not wish | 76 | We do not use the kernel headers directly because we do not wish |
@@ -276,7 +276,7 @@ int delete_module(const char *); | |||
276 | #ifndef MODUTILS_OBJ_H | 276 | #ifndef MODUTILS_OBJ_H |
277 | #define MODUTILS_OBJ_H 1 | 277 | #define MODUTILS_OBJ_H 1 |
278 | 278 | ||
279 | #ident "$Id: insmod.c,v 1.20 2000/08/01 18:16:56 kraai Exp $" | 279 | #ident "$Id: insmod.c,v 1.21 2000/08/21 19:38:49 andersen Exp $" |
280 | 280 | ||
281 | /* The relocatable object is manipulated using elfin types. */ | 281 | /* The relocatable object is manipulated using elfin types. */ |
282 | 282 | ||
@@ -529,11 +529,6 @@ _syscall2(int, new_sys_init_module, const char *, name, | |||
529 | _syscall5(int, old_sys_init_module, const char *, name, char *, code, | 529 | _syscall5(int, old_sys_init_module, const char *, name, char *, code, |
530 | unsigned, codesize, struct old_mod_routines *, routines, | 530 | unsigned, codesize, struct old_mod_routines *, routines, |
531 | struct old_symbol_table *, symtab) | 531 | struct old_symbol_table *, symtab) |
532 | #ifndef __NR_query_module | ||
533 | #define __NR_query_module 167 | ||
534 | #endif | ||
535 | _syscall5(int, query_module, const char *, name, int, which, | ||
536 | void *, buf, size_t, bufsize, size_t*, ret); | ||
537 | #ifndef BB_RMMOD | 532 | #ifndef BB_RMMOD |
538 | _syscall1(int, delete_module, const char *, name) | 533 | _syscall1(int, delete_module, const char *, name) |
539 | #else | 534 | #else |