diff options
author | Hirokazu Takata <takata@linux-m32r.org> | 2007-09-13 05:31:34 -0400 |
---|---|---|
committer | Hirokazu Takata <takata@linux-m32r.org> | 2007-11-27 11:24:04 -0500 |
commit | 52fda4870e74b43fa5ef5171cc89ac40e5b53ed1 (patch) | |
tree | 16a7e10d09f626024213fc6f44ac3dd23db767eb | |
parent | 59ce3df3e107f80c5c849f06bb9da149b1ceb349 (diff) |
m32r: Ignore warnings for unused syscalls
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>
-rw-r--r-- | include/asm-m32r/unistd.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/asm-m32r/unistd.h b/include/asm-m32r/unistd.h index d202aa9abdde..f467eac9ba70 100644 --- a/include/asm-m32r/unistd.h +++ b/include/asm-m32r/unistd.h | |||
@@ -351,6 +351,30 @@ | |||
351 | #define __ARCH_WANT_SYS_OLDUMOUNT | 351 | #define __ARCH_WANT_SYS_OLDUMOUNT |
352 | #define __ARCH_WANT_SYS_RT_SIGACTION | 352 | #define __ARCH_WANT_SYS_RT_SIGACTION |
353 | 353 | ||
354 | #define __IGNORE_lchown | ||
355 | #define __IGNORE_setuid | ||
356 | #define __IGNORE_getuid | ||
357 | #define __IGNORE_setgid | ||
358 | #define __IGNORE_getgid | ||
359 | #define __IGNORE_geteuid | ||
360 | #define __IGNORE_getegid | ||
361 | #define __IGNORE_fcntl | ||
362 | #define __IGNORE_setreuid | ||
363 | #define __IGNORE_setregid | ||
364 | #define __IGNORE_getrlimit | ||
365 | #define __IGNORE_getgroups | ||
366 | #define __IGNORE_setgroups | ||
367 | #define __IGNORE_select | ||
368 | #define __IGNORE_mmap | ||
369 | #define __IGNORE_fchown | ||
370 | #define __IGNORE_setfsuid | ||
371 | #define __IGNORE_setfsgid | ||
372 | #define __IGNORE_setresuid | ||
373 | #define __IGNORE_getresuid | ||
374 | #define __IGNORE_setresgid | ||
375 | #define __IGNORE_getresgid | ||
376 | #define __IGNORE_chown | ||
377 | |||
354 | /* | 378 | /* |
355 | * "Conditional" syscalls | 379 | * "Conditional" syscalls |
356 | * | 380 | * |