Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

The presently-unused macro was missing one parameter.

Signed-off-by: zeal <zealcook@gmail.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

zeal and committed by
Linus Torvalds
f19e77a3 1b430bee

+3 -2
+3 -2
include/linux/pageblock-flags.h
··· 67 67 68 68 #define get_pageblock_flags(page) \ 69 69 get_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1) 70 - #define set_pageblock_flags(page) \ 71 - set_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1) 70 + #define set_pageblock_flags(page, flags) \ 71 + set_pageblock_flags_group(page, flags, \ 72 + 0, NR_PAGEBLOCK_BITS-1) 72 73 73 74 #endif /* PAGEBLOCK_FLAGS_H */