summaryrefslogtreecommitdiffstats
path: root/libc/kernel/common/linux/ion.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/kernel/common/linux/ion.h')
-rw-r--r--libc/kernel/common/linux/ion.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/kernel/common/linux/ion.h b/libc/kernel/common/linux/ion.h
index d04e848..ac8b264 100644
--- a/libc/kernel/common/linux/ion.h
+++ b/libc/kernel/common/linux/ion.h
@@ -29,10 +29,10 @@ enum ion_heap_type {
ION_HEAP_TYPE_CUSTOM,
ION_NUM_HEAPS,
};
-#define ION_HEAP_SYSTEM_MASK (1 << ION_HEAP_SYSTEM)
+#define ION_HEAP_SYSTEM_MASK (1 << ION_HEAP_TYPE_SYSTEM)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
-#define ION_HEAP_SYSTEM_CONTIG_MASK (1 << ION_HEAP_SYSTEM_CONTIG)
-#define ION_HEAP_CARVEOUT_MASK (1 << ION_HEAP_CARVEOUT)
+#define ION_HEAP_SYSTEM_CONTIG_MASK (1 << ION_HEAP_TYPE_SYSTEM_CONTIG)
+#define ION_HEAP_CARVEOUT_MASK (1 << ION_HEAP_TYPE_CARVEOUT)
struct ion_allocation_data {
size_t len;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */