aboutsummaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/utility.c b/utility.c
index 28e333e6f..e7abee80c 100644
--- a/utility.c
+++ b/utility.c
@@ -153,6 +153,13 @@ extern _syscall5(int, mount, const char *, special_file, const char *, dir,
153 const char *, fstype, unsigned long int, rwflag, const void *, data); 153 const char *, fstype, unsigned long int, rwflag, const void *, data);
154#endif 154#endif
155 155
156#if defined BB_INSMOD || defined BB_LSMOD
157#ifndef __NR_query_module
158#define __NR_query_module 167
159#endif
160_syscall5(int, query_module, const char *, name, int, which,
161 void *, buf, size_t, bufsize, size_t*, ret);
162#endif
156 163
157 164
158#if defined (BB_CP_MV) || defined (BB_DU) 165#if defined (BB_CP_MV) || defined (BB_DU)