Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99685
b: refs/heads/master
c: c801ed3
h: refs/heads/master
i:
  99683: 8f12cc9
v: v3
  • Loading branch information
Paul Jackson authored and Thomas Gleixner committed May 25, 2008
1 parent b600853 commit 96f77c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: cb5dd7c104c64d7ba8ff4dd3eec3d9b92c378937
refs/heads/master: c801ed3860fe2f84281d4cae4c3e6ca87e81e890
8 changes: 3 additions & 5 deletions trunk/include/linux/pageblock-flags.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@

#include <linux/types.h>

/* Macro to aid the definition of ranges of bits */
#define PB_range(name, required_bits) \
name, name ## _end = (name + required_bits) - 1

/* Bit indices that affect a whole block of pages */
enum pageblock_bits {
PB_range(PB_migrate, 3), /* 3 bits required for migrate types */
PB_migrate,
PB_migrate_end = PB_migrate + 3 - 1,
/* 3 bits required for migrate types */
NR_PAGEBLOCK_BITS
};

Expand Down

0 comments on commit 96f77c3

Please sign in to comment.