Commit ff49aa82 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] make i386 dma-mapping.h includeable standalone

From: Christoph Hellwig <hch@lst.de>

From: Debian kernel package, author probably Herbert Xu

Include asm/io.h and asm/scatterlist.h in include/asm-i386/dma-mapping.h to
make it useable standalone, which is already true for most architectures.
parent 2d5f63eb
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
#define _ASM_I386_DMA_MAPPING_H #define _ASM_I386_DMA_MAPPING_H
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/io.h>
#include <asm/scatterlist.h>
#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) #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_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment