lowmemorykiller: Update arguments of shrinker for 2.6.35

Change-Id: I6bb09b36639527f91c48704118acad5e50c4163f
Signed-off-by: Colin Cross <ccross@google.com>
This commit is contained in:
Colin Cross
2010-08-21 17:25:42 -07:00
committed by Colin Cross
parent 1dabc19e7f
commit 4818e03a42

View 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;