diff options
author | Elliott Hughes <enh@google.com> | 2013-03-21 22:15:06 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-03-21 22:26:20 -0700 |
commit | 5c2772f59d3b6f564897187324d8606f54423207 (patch) | |
tree | 2e6558ee71209b8520dbdd757b1d2cae37937040 /libc/arch-x86/syscalls/fstatat.S | |
parent | babb72dc292a567674f6d7d2ccf7f63edaf77b80 (diff) | |
download | bionic-5c2772f59d3b6f564897187324d8606f54423207.zip bionic-5c2772f59d3b6f564897187324d8606f54423207.tar.gz bionic-5c2772f59d3b6f564897187324d8606f54423207.tar.bz2 |
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
Diffstat (limited to 'libc/arch-x86/syscalls/fstatat.S')
-rw-r--r-- | libc/arch-x86/syscalls/fstatat.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/arch-x86/syscalls/fstatat.S b/libc/arch-x86/syscalls/fstatat.S index 0bae34f..f07b405 100644 --- a/libc/arch-x86/syscalls/fstatat.S +++ b/libc/arch-x86/syscalls/fstatat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fstatat) pushl %ebx |