From fd56af193eff8ad598d2789e970150d7a363c890 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 1 Feb 2006 09:25:33 +0000 Subject: change asm/volatile to __x__ --- libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c | 2 +- libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/fork.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread/linuxthreads/sysdeps/unix/sysv/linux') 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); \ -- cgit v1.2.3