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)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:09:34 +0000 (09:09 -0700)
Change-Id: I6bb09b36639527f91c48704118acad5e50c4163f
Signed-off-by: Colin Cross <ccross@google.com>
drivers/staging/android/lowmemorykiller.c

index 39d5e6502b2100d0d077179d568885d366be674a..8b67ac06e4b0b222ec80f9998287aafb5e71ea06 100644 (file)
@@ -78,7 +78,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;