X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt-usertrace%2Fltt%2Fsystem-ppc.h;h=a4498e758938aa0bb32b5f5b75fea8edf73b18e2;hb=3a4541a514dc6da3580401c084489910bc769ab7;hp=0f13837c8f70ffa1df7c5980a118e366d1e4f4e8;hpb=60009e261013c6bcbdbaa624eaa4c5225d366aef;p=lttv.git diff --git a/ltt-usertrace/ltt/system-ppc.h b/ltt-usertrace/ltt/system-ppc.h index 0f13837c..a4498e75 100644 --- a/ltt-usertrace/ltt/system-ppc.h +++ b/ltt-usertrace/ltt/system-ppc.h @@ -45,7 +45,7 @@ #define smp_read_barrier_depends() do { } while(0) #endif /* CONFIG_SMP */ -static __inline__ unsigned long +static inline unsigned long xchg_u32(volatile void *p, unsigned long val) { unsigned long prev; @@ -95,7 +95,7 @@ extern inline void * xchg_ptr(void * m, void * val) #define __HAVE_ARCH_CMPXCHG 1 -static __inline__ unsigned long +static inline unsigned long __cmpxchg_u32(volatile unsigned int *p, unsigned int old, unsigned int new) { unsigned int prev; @@ -122,7 +122,7 @@ __cmpxchg_u32(volatile unsigned int *p, unsigned int old, unsigned int new) if something tries to do an invalid cmpxchg(). */ extern void __cmpxchg_called_with_bad_pointer(void); -static __inline__ unsigned long +static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) { switch (size) {