summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/__set_thread_area.S
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-03-21 22:15:06 -0700
committerElliott Hughes <enh@google.com>2013-03-21 22:26:20 -0700
commit5c2772f59d3b6f564897187324d8606f54423207 (patch)
tree2e6558ee71209b8520dbdd757b1d2cae37937040 /libc/arch-x86/syscalls/__set_thread_area.S
parentbabb72dc292a567674f6d7d2ccf7f63edaf77b80 (diff)
downloadbionic-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/__set_thread_area.S')
-rw-r--r--libc/arch-x86/syscalls/__set_thread_area.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/arch-x86/syscalls/__set_thread_area.S b/libc/arch-x86/syscalls/__set_thread_area.S
index bcdbca3..37f41d0 100644
--- a/libc/arch-x86/syscalls/__set_thread_area.S
+++ b/libc/arch-x86/syscalls/__set_thread_area.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(__set_thread_area)
pushl %ebx