summaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memory-failure.c')
-rw-r--r--mm/memory-failure.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index 16a0ec385320..8424b64711ac 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -776,8 +776,6 @@ static int me_huge_page(struct page *p, unsigned long pfn)
776#define lru (1UL << PG_lru) 776#define lru (1UL << PG_lru)
777#define swapbacked (1UL << PG_swapbacked) 777#define swapbacked (1UL << PG_swapbacked)
778#define head (1UL << PG_head) 778#define head (1UL << PG_head)
779#define tail (1UL << PG_tail)
780#define compound (1UL << PG_compound)
781#define slab (1UL << PG_slab) 779#define slab (1UL << PG_slab)
782#define reserved (1UL << PG_reserved) 780#define reserved (1UL << PG_reserved)
783 781
@@ -800,12 +798,7 @@ static struct page_state {
800 */ 798 */
801 { slab, slab, MF_MSG_SLAB, me_kernel }, 799 { slab, slab, MF_MSG_SLAB, me_kernel },
802 800
803#ifdef CONFIG_PAGEFLAGS_EXTENDED
804 { head, head, MF_MSG_HUGE, me_huge_page }, 801 { head, head, MF_MSG_HUGE, me_huge_page },
805 { tail, tail, MF_MSG_HUGE, me_huge_page },
806#else
807 { compound, compound, MF_MSG_HUGE, me_huge_page },
808#endif
809 802
810 { sc|dirty, sc|dirty, MF_MSG_DIRTY_SWAPCACHE, me_swapcache_dirty }, 803 { sc|dirty, sc|dirty, MF_MSG_DIRTY_SWAPCACHE, me_swapcache_dirty },
811 { sc|dirty, sc, MF_MSG_CLEAN_SWAPCACHE, me_swapcache_clean }, 804 { sc|dirty, sc, MF_MSG_CLEAN_SWAPCACHE, me_swapcache_clean },