diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/common/Makefile.in | 1 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/delete_module.c | 13 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/init_module.c | 20 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/stubs.c | 8 |
4 files changed, 0 insertions, 42 deletions
diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in index 257ed7222..595074cd9 100644 --- a/libc/sysdeps/linux/common/Makefile.in +++ b/libc/sysdeps/linux/common/Makefile.in @@ -15,7 +15,6 @@ CSRC_LFS := $(notdir $(wildcard $(COMMON_DIR)/*64.c)) CSRC-y := $(filter-out llseek.c $(CSRC_LFS),$(CSRC-y)) CSRC-y += llseek.c $(CSRC_LFS) CSRC-$(findstring y,$(UCLIBC_HAS_SSP)$(UCLIBC_HAS_FORTIFY)) += ssp.c -CSRC-$(UCLIBC_LINUX_MODULE_26) += delete_module.c init_module.c # we need these internally: fstatfs.c statfs.c CSRC-$(UCLIBC_LINUX_SPECIFIC) += \ bdflush.c \ diff --git a/libc/sysdeps/linux/common/delete_module.c b/libc/sysdeps/linux/common/delete_module.c deleted file mode 100644 index 05841d413..000000000 --- a/libc/sysdeps/linux/common/delete_module.c +++ /dev/null @@ -1,13 +0,0 @@ -/* vi: set sw=4 ts=4: */ -/* - * delete_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_delete_module -int delete_module(const char *name, unsigned int flags); -_syscall2(int, delete_module, const char *, name, unsigned int, flags) -#endif 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 - diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c index e7e81daaf..c17e509b9 100644 --- a/libc/sysdeps/linux/common/stubs.c +++ b/libc/sysdeps/linux/common/stubs.c @@ -86,10 +86,6 @@ make_stub(capset) make_stub(connect) #endif -#if !defined __NR_delete_module && defined __UCLIBC_LINUX_MODULE_26__ -make_stub(delete_module) -#endif - #if !defined __NR_epoll_create && defined __UCLIBC_HAS_EPOLL__ \ && !defined __NR_epoll_create1 make_stub(epoll_create) @@ -169,10 +165,6 @@ make_stub(getsockopt) make_stub(getxattr) #endif -#if !defined __NR_init_module && defined __UCLIBC_LINUX_MODULE_26__ -make_stub(init_module) -#endif - #if !defined __NR_inotify_add_watch && defined __UCLIBC_LINUX_SPECIFIC__ make_stub(inotify_add_watch) #endif |