XATOMIC_T
static __inline XATOMIC_T
xen_atomic_xchg(volatile XATOMIC_T *ptr, unsigned long val)
xen_atomic_setbits_l (volatile XATOMIC_T *ptr, unsigned long bits) {
xen_atomic_clearbits_l (volatile XATOMIC_T *ptr, unsigned long bits) {
static __inline XATOMIC_T
:"=r" (result), "=m" (*(volatile XATOMIC_T *)(ptr))
static __inline XATOMIC_T
:"=r" (result), "=m" (*(volatile XATOMIC_T *)(ptr))
(((const volatile XATOMIC_T *) ptr)[bitno >> LONG_SHIFT])) != 0;
static __inline XATOMIC_T
:"m" (*(const volatile XATOMIC_T *)(ptr)), "Ir" (bitno));
:"=m" (*(volatile XATOMIC_T *)(ptr))
:"=m" (*(volatile XATOMIC_T *)(ptr))