staging: android, lowmemorykiller: convert to use oom_score_adj
authorDavid Rientjes <rientjes@google.com>
Tue, 14 Feb 2012 03:28:49 +0000 (19:28 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2012 04:03:42 +0000 (20:03 -0800)
commit940f77b07f85a4211fb149d6316a3cbd84d7227d
tree8297deb036d9cab892140f7f39b80d1e9be1ffda
parentebb3bf50183f41327341da6f1e82b1fe1c058c12
staging: android, lowmemorykiller: convert to use oom_score_adj

/proc/pid/oom_adj is deprecated and will be removed in August 2012
according to Documentation/feature-removal-schedule.txt.  Convert its
usage in the lowmemorykiller to use the new interface, oom_score_adj,
instead.

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/lowmemorykiller.c