[uClibc-cvs] uClibc/libc/sysdeps/linux/common create_module.c, 1.8, 1.9
Erik Andersen
andersen at uclibc.org
Tue Feb 10 20:52:03 UTC 2004
Update of /var/cvs/uClibc/libc/sysdeps/linux/common
In directory nail:/tmp/cvs-serv31859/libc/sysdeps/linux/common
Modified Files:
create_module.c
Log Message:
Do not include the create_module syscall if it is not present
Index: create_module.c
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/create_module.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- create_module.c 27 Aug 2003 13:17:07 -0000 1.8
+++ create_module.c 10 Feb 2004 20:52:00 -0000 1.9
@@ -29,6 +29,8 @@
//#define __NR_create_module 127
+#ifdef __NR_create_module
+
#if defined(__i386__) || defined(__m68k__) || defined(__arm__) || defined(__cris__) || defined(__i960__)
#define __NR___create_module __NR_create_module
#ifdef __STR_NR_create_module
@@ -64,4 +66,5 @@
_syscall2(unsigned long, create_module, const char *, name, size_t, size);
#endif
+#endif
More information about the uClibc-cvs
mailing list