summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-04-07 19:50:31 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-09 20:53:53 +0200
commit67d53ea5a3d42aadeb1584e757ca4660c0e8a810 (patch)
tree054906bb672c6faad287ede5b34c53d56afdc629 /include/asm-x86_64
parent[PATCH] x86_64: fix CONFIG_REORDER (diff)
downloadlinux-67d53ea5a3d42aadeb1584e757ca4660c0e8a810.tar.xz
linux-67d53ea5a3d42aadeb1584e757ca4660c0e8a810.zip
[PATCH] x86_64: Eliminate IA32_NR_syscalls define
Or rather compute it based on the table length automatically. This also has the intended side effect of not warning for new system calls anymore. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r--include/asm-x86_64/ia32_unistd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86_64/ia32_unistd.h b/include/asm-x86_64/ia32_unistd.h
index 34ad297f9d58..b4f4b172b15a 100644
--- a/include/asm-x86_64/ia32_unistd.h
+++ b/include/asm-x86_64/ia32_unistd.h
@@ -317,6 +317,4 @@
#define __NR_ia32_ppoll 309
#define __NR_ia32_unshare 310
-#define IA32_NR_syscalls 311 /* must be > than biggest syscall! */
-
#endif /* _ASM_X86_64_IA32_UNISTD_H_ */