OSDN Git Service

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@google.com>
Sun, 22 Aug 2010 00:25:42 +0000 (17:25 -0700)
Change-Id: I6bb09b36639527f91c48704118acad5e50c4163f
Signed-off-by: Colin Cross <ccross@google.com>
drivers/staging/android/lowmemorykiller.c

index 39d5e65..8b67ac0 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;