blob: 974a60b645ce82235356acbdc9e3fe0996375158 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _ASM_I386_DMA_MAPPING_H
13#define _ASM_I386_DMA_MAPPING_H
14
15#include <linux/mm.h>
16#include <linux/scatterlist.h>
17
18#include <asm/cache.h>
19#include <asm/io.h>
20#include <asm/bug.h>
21
22#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
23#define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
24
25#define dma_is_consistent(d, h) (1)
26#define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY
27
28#endif