Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250412
b: refs/heads/master
c: 48e1328
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Greg Ungerer committed May 24, 2011
1 parent ae6c79e commit 2f857e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b60de9f5142ffc677e4e1bf0d1e8ad177d21095f
refs/heads/master: 48e1328e06dd9bd7a4932ee47428475963ea55b0
18 changes: 1 addition & 17 deletions trunk/arch/m68k/include/asm/bitops_no.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,23 +246,7 @@ static inline int __test_and_clear_bit_le(int nr, volatile void *addr)
return retval;
}

#define ext2_set_bit_atomic(lock, nr, addr) \
({ \
int ret; \
spin_lock(lock); \
ret = __test_and_set_bit_le((nr), (addr)); \
spin_unlock(lock); \
ret; \
})

#define ext2_clear_bit_atomic(lock, nr, addr) \
({ \
int ret; \
spin_lock(lock); \
ret = __test_and_clear_bit_le((nr), (addr)); \
spin_unlock(lock); \
ret; \
})
#include <asm-generic/bitops/ext2-atomic.h>

static inline int test_bit_le(int nr, const volatile void *addr)
{
Expand Down

0 comments on commit 2f857e6

Please sign in to comment.