staging: android: lowmemorykiller: Update arguments of shrinker for 2.6.35
authorColin Cross <ccross@google.com>
Sun, 22 Aug 2010 00:25:42 +0000 (17:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Nov 2011 12:07:04 +0000 (21:07 +0900)
Signed-off-by: Colin Cross <ccross@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/android/lowmemorykiller.c

index cf79eb9677fe70f9094d61a744f51ed8f8dc5204..93a1758b5c08a5897df73cb3729b3c98450855a1 100644 (file)
@@ -79,7 +79,7 @@ task_notify_func(struct notifier_block *self, unsigned long val, void *data)
        return NOTIFY_OK;
 }
 
-static int lowmem_shrink(int nr_to_scan, gfp_t gfp_mask)
+static int lowmem_shrink(struct shrinker *s, int nr_to_scan, gfp_t gfp_mask)
 {
        struct task_struct *p;
        struct task_struct *selected = NULL;