commit | 4818e03a42d2e2886ee5360ea32da647aedb403b | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@google.com> | Sat Aug 21 17:25:42 2010 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Jun 14 09:09:34 2011 -0700 |
tree | 6e3a4b144b137decc4a25b13cff56ee0ff2ce5e9 | |
parent | 1dabc19e7f8a49cc2cb9dc3989b707470a0c9d90 [diff] |
lowmemorykiller: Update arguments of shrinker for 2.6.35 Change-Id: I6bb09b36639527f91c48704118acad5e50c4163f Signed-off-by: Colin Cross <ccross@google.com>
diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c index 39d5e65..8b67ac0 100644 --- a/drivers/staging/android/lowmemorykiller.c +++ b/drivers/staging/android/lowmemorykiller.c
@@ -78,7 +78,7 @@ 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;