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:
49cfb6d
)
gpu: ion: ion_system_heap: Fix bug preventing compilation
author
Rebecca Schultz Zavin
<rebecca@android.com>
Wed, 26 Sep 2012 17:58:30 +0000
(10:58 -0700)
committer
Arve Hjønnevåg
<arve@android.com>
Mon, 1 Jul 2013 21:16:08 +0000
(14:16 -0700)
Change-Id: I91d77492b99d09c7abdfaa09df280a20ee83f428
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
drivers/gpu/ion/ion_system_heap.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/ion/ion_system_heap.c
b/drivers/gpu/ion/ion_system_heap.c
index 00c91fe09d31a5147129bf3986bd4c92eb24ed9e..7b441926a761e709afbffb0ab5d153c137bb9d26 100644
(file)
--- a/
drivers/gpu/ion/ion_system_heap.c
+++ b/
drivers/gpu/ion/ion_system_heap.c
@@
-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;