|
@@ -11,7 +11,6 @@
|
|
#include <linux/fs.h>
|
|
#include <linux/fs.h>
|
|
#include <linux/atomic.h>
|
|
#include <linux/atomic.h>
|
|
#include <linux/page-flags.h>
|
|
#include <linux/page-flags.h>
|
|
-#include <linux/blk_types.h>
|
|
|
|
#include <asm/page.h>
|
|
#include <asm/page.h>
|
|
|
|
|
|
struct notifier_block;
|
|
struct notifier_block;
|
|
@@ -352,6 +351,9 @@ extern int kswapd_run(int nid);
|
|
extern void kswapd_stop(int nid);
|
|
extern void kswapd_stop(int nid);
|
|
|
|
|
|
#ifdef CONFIG_SWAP
|
|
#ifdef CONFIG_SWAP
|
|
|
|
+
|
|
|
|
+#include <linux/blk_types.h> /* for bio_end_io_t */
|
|
|
|
+
|
|
/* linux/mm/page_io.c */
|
|
/* linux/mm/page_io.c */
|
|
extern int swap_readpage(struct page *);
|
|
extern int swap_readpage(struct page *);
|
|
extern int swap_writepage(struct page *page, struct writeback_control *wbc);
|
|
extern int swap_writepage(struct page *page, struct writeback_control *wbc);
|