summaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-01-25 00:52:58 +0000
committerRich Felker <dalias@aerifal.cx>2016-01-26 18:27:44 -0500
commita5e133bf29d42101ba90012b3b03b670bbb949b2 (patch)
tree8aa240312fc786f949451088dcf592e0f34eda3c /arch/i386
parentf9b8df464da02005a1f3296ad5c16582065befbf (diff)
downloadmusl-a5e133bf29d42101ba90012b3b03b670bbb949b2.tar.gz
change the internal socketcall selection logic
only use SYS_socketcall if SYSCALL_USE_SOCKETCALL is defined internally, otherwise use direct syscalls. this commit does not change the current behaviour, it is preparation for adding direct syscall numbers for i386.
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/syscall_arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/syscall_arch.h b/arch/i386/syscall_arch.h
index ca0ea7fb..4c9d874a 100644
--- a/arch/i386/syscall_arch.h
+++ b/arch/i386/syscall_arch.h
@@ -55,3 +55,5 @@ static inline long __syscall6(long n, long a1, long a2, long a3, long a4, long a
#define VDSO_USEFUL
#define VDSO_CGT_SYM "__vdso_clock_gettime"
#define VDSO_CGT_VER "LINUX_2.6"
+
+#define SYSCALL_USE_SOCKETCALL