Go to the documentation of this file. 1 #ifndef __ASM_SH_CMPXCHG_GRB_H
2 #define __ASM_SH_CMPXCHG_GRB_H
4 static inline unsigned long xchg_u32(
volatile u32 *
m,
unsigned long val)
21 :
"memory",
"r0",
"r1");
26 static inline unsigned long xchg_u8(
volatile u8 *m,
unsigned long val)
43 :
"memory" ,
"r0",
"r1");
48 static inline unsigned long __cmpxchg_u32(
volatile int *m,
unsigned long old,
65 "+r" (old),
"+r" (
new)
67 :
"memory" ,
"r0",
"r1",
"t");