gpu: ion: Switch to using a single shrink function
authorRebecca Schultz Zavin <rebecca@android.com>
Fri, 13 Dec 2013 22:24:15 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:55:39 +0000 (08:55 -0800)
commit797a95c48c48d5b83bf1a7893602161d2e2a4654
treefceaa9c6065374fdd38025fc300174bcd5c70ff2
parentefee5a0c62d827c0eca7044c2d14dd3324b325aa
gpu: ion: Switch to using a single shrink function

The single shrink function will free lower order pages first. This
enables compaction to work properly.

[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_page_pool.c
drivers/staging/android/ion/ion_priv.h