]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
m32r: Ignore warnings for unused syscalls
authorHirokazu Takata <takata@linux-m32r.org>
Thu, 13 Sep 2007 09:31:34 +0000 (18:31 +0900)
committerHirokazu Takata <takata@linux-m32r.org>
Tue, 27 Nov 2007 16:24:04 +0000 (01:24 +0900)
checksyscalls.sh reports warnings for missing syscalls.
But, on m32r, some legacy syscalls were removed elaborately.

This patch kills warnings for obsolete syscalls, which are
no longer used in the m32r kernel.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
include/asm-m32r/unistd.h

index d202aa9abdde172af860c67666337a4157d8fc41..f467eac9ba70cf3e77402bbc1fc0140a774ce032 100644 (file)
 #define __ARCH_WANT_SYS_OLDUMOUNT
 #define __ARCH_WANT_SYS_RT_SIGACTION
 
+#define __IGNORE_lchown
+#define __IGNORE_setuid
+#define __IGNORE_getuid
+#define __IGNORE_setgid
+#define __IGNORE_getgid
+#define __IGNORE_geteuid
+#define __IGNORE_getegid
+#define __IGNORE_fcntl
+#define __IGNORE_setreuid
+#define __IGNORE_setregid
+#define __IGNORE_getrlimit
+#define __IGNORE_getgroups
+#define __IGNORE_setgroups
+#define __IGNORE_select
+#define __IGNORE_mmap
+#define __IGNORE_fchown
+#define __IGNORE_setfsuid
+#define __IGNORE_setfsgid
+#define __IGNORE_setresuid
+#define __IGNORE_getresuid
+#define __IGNORE_setresgid
+#define __IGNORE_getresgid
+#define __IGNORE_chown
+
 /*
  * "Conditional" syscalls
  *