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>
This commit is contained in:
Родитель
eb943f6be0
Коммит
06a1074e1c
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче