summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-01 09:25:33 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-01 09:25:33 +0000
commitfd56af193eff8ad598d2789e970150d7a363c890 (patch)
treec5ec50abc7960fcaf509b4b1b3a27e4a9302f345 /libpthread/linuxthreads/sysdeps/unix/sysv/linux
parentf45706ca6ade259d2cf9397c35b0135991470197 (diff)
change asm/volatile to __x__
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/unix/sysv/linux')
-rw-r--r--libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c2
-rw-r--r--libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/fork.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c
index 2ec11bf68..eace94c86 100644
--- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c
+++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c
@@ -87,7 +87,7 @@ notification_function (void *arg)
{
/* Copy the function and parameter so that the parent thread can go
on with its life. */
- volatile union notify_data *data = (volatile union notify_data *) arg;
+ __volatile__ union notify_data *data = (__volatile__ union notify_data *) arg;
void (*fct) (union sigval) = data->fct;
union sigval param = data->param;
diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/fork.h b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/fork.h
index 793cb1d5f..b736526c1 100644
--- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/fork.h
+++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/fork.h
@@ -24,7 +24,7 @@
register long __o0 __asm__ ("o0"); \
register long __o1 __asm__ ("o1"); \
register long __g1 __asm__ ("g1") = __NR_fork; \
- __asm __volatile (__SYSCALL_STRING \
+ __asm__ __volatile__ (__SYSCALL_STRING \
: "=r" (__g1), "=r" (__o0), "=r" (__o1) \
: "0" (__g1) \
: __SYSCALL_CLOBBERS); \