diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-02-20 22:23:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-02-20 22:23:34 +0000 |
commit | 0585697658a4f4afd4b9811b7a3f73ff820a20d8 (patch) | |
tree | d8b46217cefa61586a014dafb6bb4f87a09224c0 /sysdeps/powerpc/powerpc32 | |
parent | a592f998bb64e8760f9e67170341793cf70ada12 (diff) | |
download | glibc-0585697658a4f4afd4b9811b7a3f73ff820a20d8.tar.gz glibc-0585697658a4f4afd4b9811b7a3f73ff820a20d8.tar.xz glibc-0585697658a4f4afd4b9811b7a3f73ff820a20d8.zip |
Update.
2002-07-24 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV on unknown systems. 2003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl if possible. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short interprocedure branches. * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to... * sysdeps/powerpc/nofpu/Dist: ...here. * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete. * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete. * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
Diffstat (limited to 'sysdeps/powerpc/powerpc32')
-rw-r--r-- | sysdeps/powerpc/powerpc32/atomicity.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/sysdeps/powerpc/powerpc32/atomicity.h b/sysdeps/powerpc/powerpc32/atomicity.h index a3f672e5ec..253bd32673 100644 --- a/sysdeps/powerpc/powerpc32/atomicity.h +++ b/sysdeps/powerpc/powerpc32/atomicity.h @@ -22,13 +22,7 @@ #include <inttypes.h> -#if BROKEN_PPC_ASM_CR0 -# define __ATOMICITY_INLINE /* nothing */ -#else -# define __ATOMICITY_INLINE inline -#endif - -static __ATOMICITY_INLINE int +static inline int __attribute__ ((unused)) exchange_and_add (volatile uint32_t *mem, int val) { @@ -42,7 +36,7 @@ exchange_and_add (volatile uint32_t *mem, int val) return result; } -static __ATOMICITY_INLINE void +static inline void __attribute__ ((unused)) atomic_add (volatile uint32_t *mem, int val) { @@ -55,7 +49,7 @@ atomic_add (volatile uint32_t *mem, int val) " : "=&b"(tmp) : "r" (mem), "Ir"(val) : "cr0", "memory"); } -static __ATOMICITY_INLINE int +static inline int __attribute__ ((unused)) compare_and_swap (volatile long int *p, long int oldval, long int newval) { @@ -72,7 +66,7 @@ compare_and_swap (volatile long int *p, long int oldval, long int newval) return result >> 5; } -static __ATOMICITY_INLINE long int +static inline long int __attribute__ ((unused)) always_swap (volatile long int *p, long int newval) { @@ -85,7 +79,7 @@ always_swap (volatile long int *p, long int newval) return result; } -static __ATOMICITY_INLINE int +static inline int __attribute__ ((unused)) test_and_set (volatile long int *p, long int newval) { |