Commit f19e77a3 authored by zeal's avatar zeal Committed by Linus Torvalds

include/linux/pageblock-flags.h: fix set_pageblock_flags() macro definiton

The presently-unused macro was missing one parameter.
Signed-off-by: default avatarzeal <zealcook@gmail.com>
Acked-by: default avatarMel Gorman <mel@csn.ul.ie>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1b430bee
...@@ -67,7 +67,8 @@ void set_pageblock_flags_group(struct page *page, unsigned long flags, ...@@ -67,7 +67,8 @@ void set_pageblock_flags_group(struct page *page, unsigned long flags,
#define get_pageblock_flags(page) \ #define get_pageblock_flags(page) \
get_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1) get_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1)
#define set_pageblock_flags(page) \ #define set_pageblock_flags(page, flags) \
set_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1) set_pageblock_flags_group(page, flags, \
0, NR_PAGEBLOCK_BITS-1)
#endif /* PAGEBLOCK_FLAGS_H */ #endif /* PAGEBLOCK_FLAGS_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment