Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -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 */