diff options
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c b/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c index 0082c570a..cdc8be7e7 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c @@ -29,9 +29,9 @@ __new_sem_post (sem_t *sem) { struct new_sem *isem = (struct new_sem *) sem; - __asm __volatile (__lll_rel_instr ::: "memory"); + __asm__ __volatile__ (__lll_rel_instr ::: "memory"); atomic_increment (&isem->value); - __asm __volatile (__lll_acq_instr ::: "memory"); + __asm__ __volatile__ (__lll_acq_instr ::: "memory"); if (isem->nwaiters > 0) { int err = lll_futex_wake (&isem->value, 1, |