Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330084
b: refs/heads/master
c: 0ef8fa6
h: refs/heads/master
v: v3
  • Loading branch information
Takuya Yoshikawa authored and Linus Torvalds committed Oct 5, 2012
1 parent 27b153e commit 6cc1abf
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: b9034bf1e96fb8b1bf1b22ca2d3ea2aa7467e5a8
refs/heads/master: 0ef8fa6962a01e72125b1c640045e8d56be8c43a
10 changes: 10 additions & 0 deletions trunk/arch/powerpc/include/asm/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,16 @@ static __inline__ int test_bit_le(unsigned long nr,
return (tmp[nr >> 3] >> (nr & 7)) & 1;
}

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 6cc1abf

Please sign in to comment.