The patch titled mm-pm-force-gfp_noio-during-suspend-hibernation-and-resume-fix-3 has been added to the -mm tree. Its filename is mm-pm-force-gfp_noio-during-suspend-hibernation-and-resume-fix-3.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: mm-pm-force-gfp_noio-during-suspend-hibernation-and-resume-fix-3 From: Rafael J. Wysocki <rjw@xxxxxxx> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN mm/page_alloc.c~mm-pm-force-gfp_noio-during-suspend-hibernation-and-resume-fix-3 mm/page_alloc.c --- a/mm/page_alloc.c~mm-pm-force-gfp_noio-during-suspend-hibernation-and-resume-fix-3 +++ a/mm/page_alloc.c @@ -77,7 +77,7 @@ unsigned long totalreserve_pages __read_ int percpu_pagelist_fraction; gfp_t gfp_allowed_mask __read_mostly = GFP_BOOT_MASK; -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP /* * The following functions are used by the suspend/hibernate code to temporarily * change gfp_allowed_mask in order to avoid using I/O during memory allocations @@ -100,7 +100,7 @@ gfp_t clear_gfp_allowed_mask(gfp_t mask) gfp_allowed_mask &= ~mask; return ret; } -#endif /* CONFIG_PM */ +#endif /* CONFIG_PM_SLEEP */ #ifdef CONFIG_HUGETLB_PAGE_SIZE_VARIABLE int pageblock_order __read_mostly; _ Patches currently in -mm which might be from rjw@xxxxxxx are linux-next.patch drivers-acpi-processor_idlec-add-two-laptops-to-the-c-state-dmi-table.patch mm-pm-force-gfp_noio-during-suspend-hibernation-and-resume.patch mm-pm-force-gfp_noio-during-suspend-hibernation-and-resume-fix-3.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html