qubes-linux-kernel/patches.suse/SoN-fix
2011-04-19 22:09:59 +02:00

23 lines
604 B
Plaintext

From: Jeff Mahoney <jeffm@suse.com>
Subject: SoN: wakeup_kswapd takes a zone index now
Patch-mainline: Depends on local patches
This patch fixes the build with SoN applied.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
mm/page_alloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -5054,7 +5054,7 @@ static int test_reserve_limits(void)
int node;
for_each_zone(zone)
- wakeup_kswapd(zone, 0);
+ wakeup_kswapd(zone, 0, zone_idx(zone));
for_each_online_node(node) {
struct page *page = alloc_pages_node(node, GFP_KERNEL, 0);