Re: [stable][patch] x86_64: fix number of ia32 syscalls

From: Michael Buesch
Date: Tue May 23 2006 - 10:38:10 EST


On Monday 22 May 2006 22:59, you wrote:
> Recent discussions about whether to print a message about unimplemented
> ia32 syscalls on x86_64 have missed the real bug: the number of ia32
> syscalls is wrong in 2.6.16. Fixing that kills the message.
>
> Signed-off-by: Chuck Ebbert <76306.1226@xxxxxxxxxxxxxx>
>
> --- 2.6.16.17-64.orig/include/asm-x86_64/ia32_unistd.h
> +++ 2.6.16.17-64/include/asm-x86_64/ia32_unistd.h
> @@ -317,6 +317,6 @@
> #define __NR_ia32_ppoll 309
> #define __NR_ia32_unshare 310
>
> -#define IA32_NR_syscalls 315 /* must be > than biggest syscall! */

Maybe fix the comment so this is more clear, too?
/* must be biggest syscall + 1 */
-
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/