diff options
-rw-r--r-- | libc/kernel/common/linux/ion.h | 6 | ||||
-rw-r--r-- | libc/kernel/common/linux/omap_ion.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libc/kernel/common/linux/ion.h b/libc/kernel/common/linux/ion.h index d04e84812..ac8b26483 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 */ diff --git a/libc/kernel/common/linux/omap_ion.h b/libc/kernel/common/linux/omap_ion.h index a63335861..a1a89528a 100644 --- a/libc/kernel/common/linux/omap_ion.h +++ b/libc/kernel/common/linux/omap_ion.h @@ -31,7 +31,7 @@ struct omap_ion_tiler_alloc_data { size_t offset; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define OMAP_ION_HEAP_TILER_MASK (1 << ION_HEAP_OMAP_TILER) +#define OMAP_ION_HEAP_TILER_MASK (1 << OMAP_ION_HEAP_TYPE_TILER) enum { OMAP_ION_TILER_ALLOC, }; |