|
@@ -9,7 +9,7 @@ typedef struct page *new_page_t(struct page *, unsigned long private, int **);
|
|
|
#ifdef CONFIG_MIGRATION
|
|
|
#define PAGE_MIGRATION 1
|
|
|
|
|
|
-extern int putback_lru_pages(struct list_head *l);
|
|
|
+extern void putback_lru_pages(struct list_head *l);
|
|
|
extern int migrate_page(struct address_space *,
|
|
|
struct page *, struct page *);
|
|
|
extern int migrate_pages(struct list_head *l, new_page_t x,
|
|
@@ -25,7 +25,7 @@ extern int migrate_vmas(struct mm_struct *mm,
|
|
|
#else
|
|
|
#define PAGE_MIGRATION 0
|
|
|
|
|
|
-static inline int putback_lru_pages(struct list_head *l) { return 0; }
|
|
|
+static inline void putback_lru_pages(struct list_head *l) {}
|
|
|
static inline int migrate_pages(struct list_head *l, new_page_t x,
|
|
|
unsigned long private, int offlining) { return -ENOSYS; }
|
|
|
|