git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
radix tree test suite: Remove duplicate bitops code
[sfrench/cifs-2.6.git]
/
tools
/
include
/
asm-generic
/
bitops
/
atomic.h
diff --git
a/tools/include/asm-generic/bitops/atomic.h
b/tools/include/asm-generic/bitops/atomic.h
index 18663f59d72f7c221286da025be45ac08b590165..68b8c1516c5a719b9fd422849e4431bafdaf8065 100644
(file)
--- a/
tools/include/asm-generic/bitops/atomic.h
+++ b/
tools/include/asm-generic/bitops/atomic.h
@@
-20,4
+20,7
@@
static __always_inline int test_bit(unsigned int nr, const unsigned long *addr)
(((unsigned long *)addr)[nr / __BITS_PER_LONG])) != 0;
}
+#define __set_bit(nr, addr) set_bit(nr, addr)
+#define __clear_bit(nr, addr) clear_bit(nr, addr)
+
#endif /* _TOOLS_LINUX_ASM_GENERIC_BITOPS_ATOMIC_H_ */