From: Rebecca Schultz Zavin Date: Wed, 26 Sep 2012 17:58:30 +0000 (-0700) Subject: gpu: ion: ion_system_heap: Fix bug preventing compilation X-Git-Tag: firefly_0821_release~4090^2~668 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=488243b4b515dcbf97d5225d75674b6bee98af73;p=firefly-linux-kernel-4.4.55.git gpu: ion: ion_system_heap: Fix bug preventing compilation Change-Id: I91d77492b99d09c7abdfaa09df280a20ee83f428 Signed-off-by: Rebecca Schultz Zavin --- diff --git a/drivers/gpu/ion/ion_system_heap.c b/drivers/gpu/ion/ion_system_heap.c index 00c91fe09d31..7b441926a761 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;