Skip to content

Commit

Permalink
include/linux/pageblock-flags.h: fix set_pageblock_flags() macro defi…
Browse files Browse the repository at this point in the history
…niton

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>
  • Loading branch information
zeal authored and Linus Torvalds committed Oct 26, 2010
1 parent 1b430be commit f19e77a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/linux/pageblock-flags.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ void set_pageblock_flags_group(struct page *page, unsigned long flags,

#define get_pageblock_flags(page) \
get_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1)
#define set_pageblock_flags(page) \
set_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1)
#define set_pageblock_flags(page, flags) \
set_pageblock_flags_group(page, flags, \
0, NR_PAGEBLOCK_BITS-1)

#endif /* PAGEBLOCK_FLAGS_H */

0 comments on commit f19e77a

Please sign in to comment.