* [PATCH] Silence sparc32 warnings on missing syscalls
@ 2007-12-14 14:37 Martin Habets
2007-12-14 19:00 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Martin Habets @ 2007-12-14 14:37 UTC (permalink / raw)
To: sparclinux
Silence sparc32 warnings on missing syscalls, these won't be added.
This patch is based on this mail:
http://www.mail-archive.com/linux-arch@vger.kernel.org/msg02571.html
Martin
Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk>
---
Index: 2.6/include/asm-sparc/unistd.h
=================================--- 2.6.orig/include/asm-sparc/unistd.h 2007-12-13 18:09:39.000000000 +0000
+++ 2.6/include/asm-sparc/unistd.h 2007-12-13 18:12:09.000000000 +0000
@@ -333,6 +333,15 @@
#define NR_SYSCALLS 315
+/* Sparc 32-bit only has the "setresuid32", "getresuid32" variants,
+ * it never had the plain ones and there is no value to adding those
+ * old versions into the syscall table.
+ */
+#define __IGNORE_setresuid
+#define __IGNORE_getresuid
+#define __IGNORE_setresgid
+#define __IGNORE_getresgid
+
#ifdef __KERNEL__
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-14 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-14 14:37 [PATCH] Silence sparc32 warnings on missing syscalls Martin Habets
2007-12-14 19:00 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.