summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/init_module.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-23 07:38:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-23 07:53:31 +0100
commitc7294c98c891e56f6507cbbf9441fce17c92e41a (patch)
tree7cd5dcbe05c788475d54fd47b0cbc091b75103ea /libc/sysdeps/linux/common/init_module.c
parent6d4d6e2cfc6b7ea247adca2d3ae137a68c4e5148 (diff)
remove UCLIBC_LINUX_MODULE_26
The syscall wrappers are not required and other C libraries do not provide them. Busybox modutils.c must be patched so that syscall() is used for uClibc-ng. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'libc/sysdeps/linux/common/init_module.c')
-rw-r--r--libc/sysdeps/linux/common/init_module.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/libc/sysdeps/linux/common/init_module.c b/libc/sysdeps/linux/common/init_module.c
deleted file mode 100644
index a2a3e02f5..000000000
--- a/libc/sysdeps/linux/common/init_module.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* vi: set sw=4 ts=4: */
-/*
- * init_module() for uClibc
- *
- * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
- *
- * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
- */
-
-#include <sys/syscall.h>
-
-#ifdef __NR_init_module
-int init_module(void *first, void *second, void *third, void *fourth, void *fifth);
-/* This may have 5 arguments (for old 2.0 kernels) or 2 arguments
- * (for 2.2 and 2.4 kernels). Use the greatest common denominator,
- * and let the kernel cope with whatever it gets. It's good at that. */
-_syscall5(int, init_module, void *, first, void *, second, void *, third,
- void *, fourth, void *, fifth)
-#endif
-