diff options
author | Rebecca Schultz Zavin <rebecca@android.com> | 2013-03-22 13:18:36 -0700 |
---|---|---|
committer | Rebecca Schultz Zavin <rebecca@android.com> | 2013-03-22 13:24:34 -0700 |
commit | 0bb6ee4f4587d219cfbb328e8a14f608405b52b9 (patch) | |
tree | 9bb8f08584a3aea0d915bd85492f560272e1a07c | |
parent | 1322b6c87443e3b0a9aef9f8a44a539923ba623e (diff) | |
download | kernel_samsung_tuna-0bb6ee4f4587d219cfbb328e8a14f608405b52b9.zip kernel_samsung_tuna-0bb6ee4f4587d219cfbb328e8a14f608405b52b9.tar.gz kernel_samsung_tuna-0bb6ee4f4587d219cfbb328e8a14f608405b52b9.tar.bz2 |
gpu: ion: Modify ION_NUM_HEAPS to reflect actual max
ION_NUM_HEAPS is meant to represent the actual max number
of heap types in the system, but currently doesn't reflect
any custom heaps. This patch changes it to 16.
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
-rw-r--r-- | include/linux/ion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ion.h b/include/linux/ion.h index aed8349..3a40dc2 100644 --- a/include/linux/ion.h +++ b/include/linux/ion.h @@ -35,7 +35,7 @@ enum ion_heap_type { ION_HEAP_TYPE_CARVEOUT, ION_HEAP_TYPE_CUSTOM, /* must be last so device specific heaps always are at the end of this enum */ - ION_NUM_HEAPS, + ION_NUM_HEAPS = 16, }; #define ION_HEAP_SYSTEM_MASK (1 << ION_HEAP_TYPE_SYSTEM) |