From c7294c98c891e56f6507cbbf9441fce17c92e41a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 23 Dec 2016 07:38:21 +0100 Subject: 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 --- libc/sysdeps/linux/common/init_module.c | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 libc/sysdeps/linux/common/init_module.c (limited to 'libc/sysdeps/linux/common/init_module.c') 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 - * - * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. - */ - -#include - -#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 - -- cgit v1.2.3