diff options
Diffstat (limited to 'mm/swap.c')
| -rw-r--r-- | mm/swap.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -30,6 +30,7 @@ | |||
| 30 | #include <linux/notifier.h> | 30 | #include <linux/notifier.h> |
| 31 | #include <linux/backing-dev.h> | 31 | #include <linux/backing-dev.h> |
| 32 | #include <linux/memcontrol.h> | 32 | #include <linux/memcontrol.h> |
| 33 | #include <linux/gfp.h> | ||
| 33 | 34 | ||
| 34 | #include "internal.h" | 35 | #include "internal.h" |
| 35 | 36 | ||
| @@ -55,7 +56,7 @@ static void __page_cache_release(struct page *page) | |||
| 55 | del_page_from_lru(zone, page); | 56 | del_page_from_lru(zone, page); |
| 56 | spin_unlock_irqrestore(&zone->lru_lock, flags); | 57 | spin_unlock_irqrestore(&zone->lru_lock, flags); |
| 57 | } | 58 | } |
| 58 | free_hot_page(page); | 59 | free_hot_cold_page(page, 0); |
| 59 | } | 60 | } |
| 60 | 61 | ||
| 61 | static void put_compound_page(struct page *page) | 62 | static void put_compound_page(struct page *page) |
