summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/x86_64')
-rw-r--r--libc/sysdeps/linux/x86_64/sigaction.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/x86_64/sigaction.c b/libc/sysdeps/linux/x86_64/sigaction.c
index 29b6ed03a..aa5c0d472 100644
--- a/libc/sysdeps/linux/x86_64/sigaction.c
+++ b/libc/sysdeps/linux/x86_64/sigaction.c
@@ -135,9 +135,8 @@ libc_hidden_weak(sigaction)
#define RESTORE(name, syscall) RESTORE2 (name, syscall)
# define RESTORE2(name, syscall) \
-asm \
- ( \
- ".text\n" \
+__asm__ ( \
+ ".text\n" \
"__" #name ":\n" \
" movq $" #syscall ", %rax\n" \
" syscall\n" \