projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb943f6
)
staging: android: lowmemorykiller: Update arguments of shrinker for 2.6.35
author
Colin Cross
<ccross@google.com>
Sun, 22 Aug 2010 00:25:42 +0000
(17:25 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 30 Nov 2011 12:07:04 +0000
(21:07 +0900)
Signed-off-by: Colin Cross <ccross@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/android/lowmemorykiller.c
patch
|
blob
|
history
diff --git
a/drivers/staging/android/lowmemorykiller.c
b/drivers/staging/android/lowmemorykiller.c
index cf79eb9677fe70f9094d61a744f51ed8f8dc5204..93a1758b5c08a5897df73cb3729b3c98450855a1 100644
(file)
--- 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;