[PATCH][2.6.9-rc1-mm3] repair x86_64' IA32_NR_syscalls #define

From: Mikael Pettersson
Date: Fri Sep 03 2004 - 17:38:23 EST


The waitid/perfctr system call numbers shuffle in 2.6.9-rc1-mm3
broke x86_64' IA32_NR_syscalls #define: it was decremented by
one when it should have remained unchanged.

This patch restores its correct value.

/Mikael

--- linux-2.6.9-rc1-mm3/include/asm-x86_64/ia32_unistd.h.~1~ 2004-09-03 23:06:33.000000000 +0200
+++ linux-2.6.9-rc1-mm3/include/asm-x86_64/ia32_unistd.h 2004-09-04 00:11:36.827628168 +0200
@@ -297,6 +297,6 @@
#define __NR_ia32_vperfctr_iresume (__NR_ia32_perfctr_info+4)
#define __NR_ia32_vperfctr_read (__NR_ia32_perfctr_info+5)

-#define IA32_NR_syscalls 290 /* must be > than biggest syscall! */
+#define IA32_NR_syscalls 291 /* must be > than biggest syscall! */

#endif /* _ASM_X86_64_IA32_UNISTD_H_ */
-
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/