mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 17:57:38 -04:00
[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>
This commit is contained in:
committed by
Linus Torvalds
parent
bbd3aff89d
commit
67d53ea5a3
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user