Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290528
b: refs/heads/master
c: 97767a8
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier authored and David S. Miller committed Mar 1, 2012
1 parent 91ea476 commit a444cae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: 9c4df53bc3f9c72d7f1f1226927f456d46412381
refs/heads/master: 97767a87f3be8834192dc3fc9412aaccf708d87f
4 changes: 0 additions & 4 deletions trunk/drivers/net/ethernet/emulex/benet/be.h
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,6 @@ extern const struct ethtool_ops be_ethtool_ops;
((u32)((((size_t)(_address) & (PAGE_SIZE_4K - 1)) + \
(size) + (PAGE_SIZE_4K - 1)) >> PAGE_SHIFT_4K))

/* Byte offset into the page corresponding to given address */
#define OFFSET_IN_PAGE(addr) \
((size_t)(addr) & (PAGE_SIZE_4K-1))

/* Returns bit offset within a DWORD of a bitfield */
#define AMAP_BIT_OFFSET(_struct, field) \
(((size_t)&(((_struct *)0)->field))%32)
Expand Down

0 comments on commit a444cae

Please sign in to comment.