projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: introduce PAGEFLAGS_MASK to replace ((1UL << NR_PAGEFLAGS) - 1)
[linux-2.6-block.git]
/
lib
/
test_printf.c
diff --git
a/lib/test_printf.c
b/lib/test_printf.c
index 8ac71aee46af09a3f76b8e66e73ee4934c5f3fbd..ec69953cf80c3fa426a885e10b88d9fdd2e054c4 100644
(file)
--- a/
lib/test_printf.c
+++ b/
lib/test_printf.c
@@
-614,7
+614,7
@@
page_flags_test(int section, int node, int zone, int last_cpupid,
bool append = false;
int i;
- flags &=
BIT(NR_PAGEFLAGS) - 1
;
+ flags &=
PAGEFLAGS_MASK
;
if (flags) {
page_flags |= flags;
snprintf(cmp_buf + size, BUF_SIZE - size, "%s", name);