Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71483
b: refs/heads/master
c: 14ed9d2
h: refs/heads/master
i:
  71481: f01acb0
  71479: 48ef784
v: v3
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed Oct 19, 2007
1 parent 2ed7502 commit 1cb24cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 1cafc30f43696e8b1b6f7ef4fed354cb3e3af2e6
refs/heads/master: 14ed9d23aa9acd79210a92ac561a728b42a8e281
1 change: 1 addition & 0 deletions trunk/include/linux/bitmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <linux/types.h>
#include <linux/bitops.h>
#include <linux/string.h>
#include <linux/kernel.h>

/*
* bitmaps provide bit arrays that consume one or more unsigned
Expand Down
3 changes: 1 addition & 2 deletions trunk/include/linux/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#define BIT(nr) (1UL << (nr))
#define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG))
#define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
#define BITS_TO_TYPE(nr, t) (((nr)+(t)-1)/(t))
#define BITS_TO_LONGS(nr) BITS_TO_TYPE(nr, BITS_PER_LONG)
#define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_LONG)
#define BITS_PER_BYTE 8
#endif

Expand Down

0 comments on commit 1cb24cd

Please sign in to comment.