]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 3477/1: ARM EABI: undefine removed syscalls
authorNicolas Pitre <nico@cam.org>
Sat, 15 Apr 2006 15:10:43 +0000 (16:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 15 Apr 2006 15:10:43 +0000 (16:10 +0100)
Patch from Nicolas Pitre

Avoid confusion for libraries assuming that a given syscall is available
when corresponding symbol is defined.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/unistd.h

index 65ac305c2d457fae139048b71093bc34972e8b4c..ee8dfea549bc324239b1e60f0cdd9ef984e75dfb 100644 (file)
 #define __ARM_NR_usr32                 (__ARM_NR_BASE+4)
 #define __ARM_NR_set_tls               (__ARM_NR_BASE+5)
 
+/*
+ * The following syscalls are obsolete and no longer available for EABI.
+ */
+#if defined(__ARM_EABI__)
+#undef __NR_time
+#undef __NR_umount
+#undef __NR_stime
+#undef __NR_alarm
+#undef __NR_utime
+#undef __NR_getrlimit
+#undef __NR_select
+#undef __NR_readdir
+#undef __NR_mmap
+#undef __NR_socketcall
+#undef __NR_syscall
+#undef __NR_ipc
+#endif
+
 #define __sys2(x) #x
 #define __sys1(x) __sys2(x)