Skip to content

Commit

Permalink
staging: android: lowmemorykiller: Update arguments of shrinker for 2…
Browse files Browse the repository at this point in the history
….6.35

Signed-off-by: Colin Cross <ccross@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Colin Cross authored and Greg Kroah-Hartman committed Nov 30, 2011
1 parent eb943f6 commit 06a1074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/android/lowmemorykiller.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,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;
Expand Down

0 comments on commit 06a1074

Please sign in to comment.