lkml.org 
[lkml]   [2013]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 034/115] gpu: ion: ion_system_heap: Fix bug preventing compilation
Date
From: Rebecca Schultz Zavin <rebecca@android.com>

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>
---
drivers/staging/android/ion/ion_system_heap.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/android/ion/ion_system_heap.c b/drivers/staging/android/ion/ion_system_heap.c
index 30a225a..25b0255 100644
--- a/drivers/staging/android/ion/ion_system_heap.c
+++ b/drivers/staging/android/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;
--
1.8.3.2


\
 
 \ /
  Last update: 2013-12-14 00:21    [W:0.321 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site