summaryrefslogtreecommitdiffstats
path: root/6/platforms/android-9/arch-x86/usr/include/asm/dma-mapping_32.h
diff options
context:
space:
mode:
Diffstat (limited to '6/platforms/android-9/arch-x86/usr/include/asm/dma-mapping_32.h')
-rw-r--r--6/platforms/android-9/arch-x86/usr/include/asm/dma-mapping_32.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/6/platforms/android-9/arch-x86/usr/include/asm/dma-mapping_32.h b/6/platforms/android-9/arch-x86/usr/include/asm/dma-mapping_32.h
new file mode 100644
index 0000000..974a60b
--- /dev/null
+++ b/6/platforms/android-9/arch-x86/usr/include/asm/dma-mapping_32.h
@@ -0,0 +1,28 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_I386_DMA_MAPPING_H
+#define _ASM_I386_DMA_MAPPING_H
+
+#include <linux/mm.h>
+#include <linux/scatterlist.h>
+
+#include <asm/cache.h>
+#include <asm/io.h>
+#include <asm/bug.h>
+
+#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
+#define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
+
+#define dma_is_consistent(d, h) (1)
+#define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY
+
+#endif