diff options
| author | Rebecca Schultz Zavin <rebecca@android.com> | 2012-09-26 10:58:30 -0700 |
|---|---|---|
| committer | Arve Hjønnevåg <arve@android.com> | 2013-07-01 14:16:08 -0700 |
| commit | 488243b4b515dcbf97d5225d75674b6bee98af73 (patch) | |
| tree | 7432d098be8175b35cd9e9a87a249d8ad2bf5824 /drivers/gpu/ion/ion_system_heap.c | |
| parent | 49cfb6da44fd228851d0d6410f8b2cf56a4be9bd (diff) | |
| download | olio-linux-3.10-488243b4b515dcbf97d5225d75674b6bee98af73.tar.xz olio-linux-3.10-488243b4b515dcbf97d5225d75674b6bee98af73.zip | |
gpu: ion: ion_system_heap: Fix bug preventing compilation
Change-Id: I91d77492b99d09c7abdfaa09df280a20ee83f428
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Diffstat (limited to 'drivers/gpu/ion/ion_system_heap.c')
| -rw-r--r-- | drivers/gpu/ion/ion_system_heap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/ion/ion_system_heap.c b/drivers/gpu/ion/ion_system_heap.c index 00c91fe09d3..7b441926a76 100644 --- 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; |