summaryrefslogtreecommitdiff
path: root/include
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 11:53:53 -0700
commit67d53ea5a3d42aadeb1584e757ca4660c0e8a810 (patch)
tree054906bb672c6faad287ede5b34c53d56afdc629 /include
parentbbd3aff89d4b34ef17a748e4c001ecc5b43e3e55 (diff)
downloadlinux-next-67d53ea5a3d42aadeb1584e757ca4660c0e8a810.tar.gz
[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')
-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_ */