mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -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:
parent
bbd3aff89d
commit
67d53ea5a3
2 changed files with 8 additions and 11 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue