Calls were moved to the PM core, so they must be compiled in to use them.
return allocated;
}
-#ifdef CONFIG_SOFTWARE_SUSPEND
+#ifdef CONFIG_PM
int is_head_of_free_region(struct page *page)
{
struct zone *zone = page_zone(page);
}
local_irq_restore(flags);
}
-#endif /* CONFIG_SOFTWARE_SUSPEND */
+#endif /* CONFIG_PM */
/*
* Free a 0-order page
wake_up_interruptible(&zone->zone_pgdat->kswapd_wait);
}
-#ifdef CONFIG_SOFTWARE_SUSPEND
+#ifdef CONFIG_PM
/*
* Try to free `nr_pages' of memory, system-wide. Returns the number of freed
* pages.