Commit 06a1074e authored by Colin Cross's avatar Colin Cross Committed by Greg Kroah-Hartman

staging: android: lowmemorykiller: Update arguments of shrinker for 2.6.35

Signed-off-by: default avatarColin Cross <ccross@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent eb943f6b
...@@ -79,7 +79,7 @@ task_notify_func(struct notifier_block *self, unsigned long val, void *data) ...@@ -79,7 +79,7 @@ task_notify_func(struct notifier_block *self, unsigned long val, void *data)
return NOTIFY_OK; 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 *p;
struct task_struct *selected = NULL; struct task_struct *selected = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment