From: Colin Cross Date: Sun, 22 Aug 2010 00:25:42 +0000 (-0700) Subject: lowmemorykiller: Update arguments of shrinker for 2.6.35 X-Git-Tag: firefly_0821_release~7613^2~719 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4818e03a42d2e2886ee5360ea32da647aedb403b;p=firefly-linux-kernel-4.4.55.git lowmemorykiller: Update arguments of shrinker for 2.6.35 Change-Id: I6bb09b36639527f91c48704118acad5e50c4163f Signed-off-by: Colin Cross --- diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c index 39d5e6502b21..8b67ac06e4b0 100644 --- a/drivers/staging/android/lowmemorykiller.c +++ b/drivers/staging/android/lowmemorykiller.c @@ -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;