diff options
author | Colin Cross <ccross@google.com> | 2010-08-21 17:25:42 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-30 21:07:04 +0900 |
commit | 06a1074e1c789a777732f8c432d913b0fedb8ff5 (patch) | |
tree | 3b73d76fabb517e93e3fd7eb3d0ac8f125673475 | |
parent | eb943f6be011b33455b767880e13c34a2bb96a5e (diff) | |
download | op-kernel-dev-06a1074e1c789a777732f8c432d913b0fedb8ff5.zip op-kernel-dev-06a1074e1c789a777732f8c432d913b0fedb8ff5.tar.gz |
staging: android: lowmemorykiller: Update arguments of shrinker for 2.6.35
Signed-off-by: Colin Cross <ccross@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/android/lowmemorykiller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c index cf79eb9..93a1758 100644 --- a/drivers/staging/android/lowmemorykiller.c +++ b/drivers/staging/android/lowmemorykiller.c @@ -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; |