aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/migrate.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/migrate.h b/include/linux/migrate.h
index ce7e6671968b..a4e886d17f87 100644
--- a/include/linux/migrate.h
+++ b/include/linux/migrate.h
@@ -7,6 +7,13 @@
7 7
8typedef struct page *new_page_t(struct page *, unsigned long private, int **); 8typedef struct page *new_page_t(struct page *, unsigned long private, int **);
9 9
10/*
11 * Return values from addresss_space_operations.migratepage():
12 * - negative errno on page migration failure;
13 * - zero on page migration success;
14 */
15#define MIGRATEPAGE_SUCCESS 0
16
10#ifdef CONFIG_MIGRATION 17#ifdef CONFIG_MIGRATION
11 18
12extern void putback_lru_pages(struct list_head *l); 19extern void putback_lru_pages(struct list_head *l);