mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
gpu: ion: ion_system_heap: Fix bug preventing compilation
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com> [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>
This commit is contained in:
parent
ba96a2eed5
commit
b0599c0140
1 changed files with 2 additions and 1 deletions
|
|
@ -31,11 +31,12 @@ struct page_info {
|
|||
struct list_head list;
|
||||
};
|
||||
|
||||
static unsigned int orders[] = {8, 4, 0};
|
||||
|
||||
static struct page_info *alloc_largest_available(unsigned long size,
|
||||
bool split_pages,
|
||||
unsigned int max_order)
|
||||
{
|
||||
static unsigned int orders[] = {8, 4, 0};
|
||||
struct page *page;
|
||||
struct page_info *info;
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Reference in a new issue