msm: kgsl: fix statistics for ion memory regions

The sysfs code was reading the wrong entry in the stats
array, so it printed the wrong value.

Change-Id: I26ce8bbca152a98e3dac53a9c154e52b020d5532
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
This commit is contained in:
Jeremy Gebben
2012-03-05 11:39:46 -07:00
parent c5e7504029
commit ff6eab00fd
+1 -1
View File
@@ -150,7 +150,7 @@ static struct mem_entry_stats mem_stats[] = {
#endif
MEM_ENTRY_STAT(KGSL_MEM_ENTRY_USER, user),
#ifdef CONFIG_ION
MEM_ENTRY_STAT(KGSL_MEM_ENTRY_USER, ion),
MEM_ENTRY_STAT(KGSL_MEM_ENTRY_ION, ion),
#endif
};