Commit 113072fa authored by David Mosberger's avatar David Mosberger

[PATCH] avoid reference to struct page before it's declared

GCC currently warns when page-flags.h gets included before struct page
is declared. Declare it.
parent 8871316f
......@@ -211,6 +211,8 @@ extern void get_page_state(struct page_state *ret);
extern struct address_space swapper_space;
#define PageSwapCache(page) ((page)->mapping == &swapper_space)
struct page; /* forward declaration */
int test_clear_page_dirty(struct page *page);
static inline void clear_page_dirty(struct page *page)
......
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