summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-08-06 08:17:47 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-08-06 08:17:47 +0000
commit9581d701d8c3a966ee4a73a5221c257a1c1a1e58 (patch)
tree7d249ade5878a78ed3cec2b3e96c11b7affb978a /libc/sysdeps/linux/x86_64
parentafedbca93b51b6471704007f5743ba890756b33a (diff)
- some more asm keyword fixes (Yann E. MORIN)
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" \