diff options
Diffstat (limited to 'include/linux/swap.h')
-rw-r--r-- | include/linux/swap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h index 2343f999e6e1..239f520cc49e 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h | |||
@@ -7,6 +7,8 @@ | |||
7 | #include <linux/mmzone.h> | 7 | #include <linux/mmzone.h> |
8 | #include <linux/list.h> | 8 | #include <linux/list.h> |
9 | #include <linux/sched.h> | 9 | #include <linux/sched.h> |
10 | #include <linux/pagemap.h> | ||
11 | |||
10 | #include <asm/atomic.h> | 12 | #include <asm/atomic.h> |
11 | #include <asm/page.h> | 13 | #include <asm/page.h> |
12 | 14 | ||
@@ -148,7 +150,7 @@ struct swap_list_t { | |||
148 | #define vm_swap_full() (nr_swap_pages*2 < total_swap_pages) | 150 | #define vm_swap_full() (nr_swap_pages*2 < total_swap_pages) |
149 | 151 | ||
150 | /* linux/mm/oom_kill.c */ | 152 | /* linux/mm/oom_kill.c */ |
151 | extern void out_of_memory(unsigned int __nocast gfp_mask); | 153 | extern void out_of_memory(unsigned int __nocast gfp_mask, int order); |
152 | 154 | ||
153 | /* linux/mm/memory.c */ | 155 | /* linux/mm/memory.c */ |
154 | extern void swapin_readahead(swp_entry_t, unsigned long, struct vm_area_struct *); | 156 | extern void swapin_readahead(swp_entry_t, unsigned long, struct vm_area_struct *); |