Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330083
b: refs/heads/master
c: b9034bf
h: refs/heads/master
i:
  330081: 4400ca0
  330079: 3eb0cda
v: v3
  • Loading branch information
Takuya Yoshikawa authored and Linus Torvalds committed Oct 5, 2012
1 parent 8a04055 commit 27b153e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 459a130838e819d5bc7efc572cba4cdd5c4f2dd2
refs/heads/master: b9034bf1e96fb8b1bf1b22ca2d3ea2aa7467e5a8
10 changes: 10 additions & 0 deletions trunk/include/asm-generic/bitops/le.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,16 @@ static inline int test_bit_le(int nr, const void *addr)
return test_bit(nr ^ BITOP_LE_SWIZZLE, addr);
}

static inline void set_bit_le(int nr, void *addr)
{
set_bit(nr ^ BITOP_LE_SWIZZLE, addr);
}

static inline void clear_bit_le(int nr, void *addr)
{
clear_bit(nr ^ BITOP_LE_SWIZZLE, addr);
}

static inline void __set_bit_le(int nr, void *addr)
{
__set_bit(nr ^ BITOP_LE_SWIZZLE, addr);
Expand Down

0 comments on commit 27b153e

Please sign in to comment.