summaryrefslogtreecommitdiff
path: root/include/asm-x86_64
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-04-07 21:50:31 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-09 22:53:53 +0400
commit67d53ea5a3d42aadeb1584e757ca4660c0e8a810 (patch)
tree054906bb672c6faad287ede5b34c53d56afdc629 /include/asm-x86_64
parentbbd3aff89d4b34ef17a748e4c001ecc5b43e3e55 (diff)
downloadlinux-67d53ea5a3d42aadeb1584e757ca4660c0e8a810.tar.xz
[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_ */