diff options
author | Elliott Hughes <enh@google.com> | 2013-03-21 22:48:18 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-03-21 22:48:18 -0700 |
commit | 4cdde5f12364079a2b55fa4fc4ed53364cb8465d (patch) | |
tree | 0446d7fadb5ff4378fee3d75fd1d9551d3c73c5a /libc/arch-x86 | |
parent | 3323628d635d3973965ee458c1fee7d8ab45136f (diff) | |
download | bionic-4cdde5f12364079a2b55fa4fc4ed53364cb8465d.zip bionic-4cdde5f12364079a2b55fa4fc4ed53364cb8465d.tar.gz bionic-4cdde5f12364079a2b55fa4fc4ed53364cb8465d.tar.bz2 |
Replace unnecessary x86 uses of <sys/linux-syscalls.h> with <asm/unistd.h>.
Change-Id: I9d016ee8e8329cccf244d27c336d9524348af996
Diffstat (limited to 'libc/arch-x86')
-rw-r--r-- | libc/arch-x86/bionic/_exit_with_stack_teardown.S | 2 | ||||
-rw-r--r-- | libc/arch-x86/bionic/clone.S | 2 | ||||
-rw-r--r-- | libc/arch-x86/bionic/futex_x86.S | 2 | ||||
-rw-r--r-- | libc/arch-x86/bionic/syscall.S | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/libc/arch-x86/bionic/_exit_with_stack_teardown.S b/libc/arch-x86/bionic/_exit_with_stack_teardown.S index e2bb6ad..aad3f0b 100644 --- a/libc/arch-x86/bionic/_exit_with_stack_teardown.S +++ b/libc/arch-x86/bionic/_exit_with_stack_teardown.S @@ -1,5 +1,5 @@ +#include <asm/unistd.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> // void _exit_with_stack_teardown(void *stackBase, int stackSize, int *retCode) ENTRY(_exit_with_stack_teardown) diff --git a/libc/arch-x86/bionic/clone.S b/libc/arch-x86/bionic/clone.S index 80e3c75..457cb4a 100644 --- a/libc/arch-x86/bionic/clone.S +++ b/libc/arch-x86/bionic/clone.S @@ -1,5 +1,5 @@ +#include <asm/unistd.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> // int __pthread_clone(void* (*fn)(void*), void* tls, int flags, void* arg); ENTRY(__pthread_clone) diff --git a/libc/arch-x86/bionic/futex_x86.S b/libc/arch-x86/bionic/futex_x86.S index 36a28e8..fa33758 100644 --- a/libc/arch-x86/bionic/futex_x86.S +++ b/libc/arch-x86/bionic/futex_x86.S @@ -1,5 +1,5 @@ +#include <asm/unistd.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> #define FUTEX_WAIT 0 #define FUTEX_WAKE 1 diff --git a/libc/arch-x86/bionic/syscall.S b/libc/arch-x86/bionic/syscall.S index ef816b6..4452da4 100644 --- a/libc/arch-x86/bionic/syscall.S +++ b/libc/arch-x86/bionic/syscall.S @@ -10,8 +10,8 @@ * %ebp: arg5 - callee save */ +#include <asm/unistd.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> ENTRY(syscall) # Push the callee save registers. |