mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-15 10:00:40 +09:00
lowmemorykiller: Update arguments of shrinker for 2.6.35
Change-Id: I6bb09b36639527f91c48704118acad5e50c4163f Signed-off-by: Colin Cross <ccross@google.com>
This commit is contained in:
@@ -78,7 +78,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;
|
||||
|
||||
Reference in New Issue
Block a user