15 #ifndef _ASM_TILE_BITOPS_32_H
16 #define _ASM_TILE_BITOPS_32_H
18 #include <linux/compiler.h>
22 unsigned long _atomic_or(
volatile unsigned long *
p,
unsigned long mask);
36 static inline void set_bit(
unsigned nr,
volatile unsigned long *
addr)
55 static inline void clear_bit(
unsigned nr,
volatile unsigned long *addr)
70 static inline void change_bit(
unsigned nr,
volatile unsigned long *addr)
83 static inline int test_and_set_bit(
unsigned nr,
volatile unsigned long *addr)
116 volatile unsigned long *addr)
125 #define smp_mb__before_clear_bit() smp_mb()
126 #define smp_mb__after_clear_bit() do {} while (0)