Commit be4311a2 authored by Christoph Hellwig's avatar Christoph Hellwig

dma-mapping: remove an incorrect __iommem annotation

memmap return a regular void pointer, not and __iomem one.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 34e04eed
...@@ -43,7 +43,7 @@ static int dma_init_coherent_memory( ...@@ -43,7 +43,7 @@ static int dma_init_coherent_memory(
struct dma_coherent_mem **mem) struct dma_coherent_mem **mem)
{ {
struct dma_coherent_mem *dma_mem = NULL; struct dma_coherent_mem *dma_mem = NULL;
void __iomem *mem_base = NULL; void *mem_base = NULL;
int pages = size >> PAGE_SHIFT; int pages = size >> PAGE_SHIFT;
int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long); int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long);
int ret; int ret;
......
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