[PATCH] kbuild: exempt more syscalls from warnings, for x86_64 and ARM.

From: David Woodhouse
Date: Wed Mar 21 2007 - 07:20:51 EST


Signed-off-by: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
---
init/missing_syscalls.c | 30 +++++++++++++++++++++++++++---
1 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/init/missing_syscalls.c b/init/missing_syscalls.c
index dc6b97d..0b7e7d2 100644
--- a/init/missing_syscalls.c
+++ b/init/missing_syscalls.c
@@ -15,6 +15,8 @@
#define __IGNORE_fcntl64
#define __IGNORE_fadvise64_64
#define __IGNORE_fstatat64
+#define __IGNORE_fstatfs64
+#define __IGNORE_statfs64
#endif

/* i386-specific or historical system calls */
@@ -31,8 +33,6 @@
#define __IGNORE_iopl
#define __IGNORE_idle
#define __IGNORE_modify_ldt
-#define __IGNORE_getpmsg
-#define __IGNORE_putpmsg
#define __IGNORE_ugetrlimit
#define __IGNORE_mmap2
#define __IGNORE_vm86
@@ -46,6 +46,27 @@
#define __IGNORE_oldolduname
#define __IGNORE_olduname
#define __IGNORE_umount2
+#define __IGNORE_umount
+#define __IGNORE_waitpid
+#define __IGNORE_stime
+#define __IGNORE_nice
+#define __IGNORE_signal
+#define __IGNORE_sigaction
+#define __IGNORE_sgetmask
+#define __IGNORE_sigsuspend
+#define __IGNORE_sigpending
+#define __IGNORE_readdir
+#define __IGNORE_socketcall
+#define __IGNORE_ipc
+#define __IGNORE_sigreturn
+#define __IGNORE_sigprocmask
+#define __IGNORE_bdflush
+#define __IGNORE__llseek
+#define __IGNORE__newselect
+#define __IGNORE_create_module
+#define __IGNORE_delete_module
+#define __IGNORE_query_module
+#define __IGNORE_get_kernel_syms
/* ... including the "new" 32-bit uid syscalls */
#define __IGNORE_lchown32
#define __IGNORE_getuid32
@@ -67,7 +88,10 @@
#define __IGNORE_setfsuid32
#define __IGNORE_setfsgid32

-/* Not yet upstream */
+/* Unmerged syscalls for AFS, STREAMS, etc. */
+#define __IGNORE_afs_syscall
+#define __IGNORE_getpmsg
+#define __IGNORE_putpmsg
#define __IGNORE_vserver

#include "missing_syscalls.h"
--
1.4.4.2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/