aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-08 18:55:24 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-08 18:55:24 +0000
commite4d63164fd2e82ba6899cc37acd02537fc49241d (patch)
treee225367aaef198eacec8ed0b530d36a9d888d92f /modutils
parent0022fe5638fbe702405ad218f43006e718f4ef9e (diff)
downloadbusybox-w32-e4d63164fd2e82ba6899cc37acd02537fc49241d.tar.gz
busybox-w32-e4d63164fd2e82ba6899cc37acd02537fc49241d.tar.bz2
busybox-w32-e4d63164fd2e82ba6899cc37acd02537fc49241d.zip
Update files to reduce dependance on kernel version...
-Erik git-svn-id: svn://busybox.net/trunk/busybox@779 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 006468877..75058b959 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -71,7 +71,7 @@
71#ifndef MODUTILS_MODULE_H 71#ifndef MODUTILS_MODULE_H
72#define MODUTILS_MODULE_H 1 72#define MODUTILS_MODULE_H 1
73 73
74#ident "$Id: insmod.c,v 1.11 2000/06/26 11:16:22 andersen Exp $" 74#ident "$Id: insmod.c,v 1.12 2000/07/08 18:55:24 andersen Exp $"
75 75
76/* This file contains the structures used by the 2.0 and 2.1 kernels. 76/* This file contains the structures used by the 2.0 and 2.1 kernels.
77 We do not use the kernel headers directly because we do not wish 77 We do not use the kernel headers directly because we do not wish
@@ -277,7 +277,7 @@ int delete_module(const char *);
277#ifndef MODUTILS_OBJ_H 277#ifndef MODUTILS_OBJ_H
278#define MODUTILS_OBJ_H 1 278#define MODUTILS_OBJ_H 1
279 279
280#ident "$Id: insmod.c,v 1.11 2000/06/26 11:16:22 andersen Exp $" 280#ident "$Id: insmod.c,v 1.12 2000/07/08 18:55:24 andersen Exp $"
281 281
282/* The relocatable object is manipulated using elfin types. */ 282/* The relocatable object is manipulated using elfin types. */
283 283
@@ -530,6 +530,9 @@ _syscall2(int, new_sys_init_module, const char *, name,
530_syscall5(int, old_sys_init_module, const char *, name, char *, code, 530_syscall5(int, old_sys_init_module, const char *, name, char *, code,
531 unsigned, codesize, struct old_mod_routines *, routines, 531 unsigned, codesize, struct old_mod_routines *, routines,
532 struct old_symbol_table *, symtab) 532 struct old_symbol_table *, symtab)
533#ifndef __NR_query_module
534#define __NR_query_module 167
535#endif
533_syscall5(int, query_module, const char *, name, int, which, 536_syscall5(int, query_module, const char *, name, int, which,
534 void *, buf, size_t, bufsize, size_t*, ret); 537 void *, buf, size_t, bufsize, size_t*, ret);
535#ifndef BB_RMMOD 538#ifndef BB_RMMOD