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@xxxxxxxxxxxxxxx/msg02571.html Martin Signed-off-by: Martin Habets <errandir_news@xxxxxxxxxxxxxxxxx> --- 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 - To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html