The SYS_ constants should cover all __NR_ values.

<sys/linux-syscalls.h> only contains constants for the syscalls
we're generating stubs for. We want all the syscalls available
on the architecture in question.

Keep using <sys/linux-syscalls.h> on ARM for now because the
__NR_ARM_set_tls and __NR_ARM_cacheflush values aren't in <asm/unistd.h>.

Change-Id: I66683950d87d9b18d6107d0acc0ed238a4496f44
This commit is contained in:
Elliott Hughes
2013-03-21 22:15:06 -07:00
parent babb72dc29
commit 5c2772f59d
413 changed files with 1499 additions and 914 deletions

View File

@@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl lgetxattr
.align 4