mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
gpu: ion: ion_system_heap: Fix bug preventing compilation
Change-Id: I91d77492b99d09c7abdfaa09df280a20ee83f428 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
This commit is contained in:
committed by
Arve Hjønnevåg
parent
49cfb6da44
commit
488243b4b5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user