Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dma-mapping: remove an incorrect __iommem annotation

memmap return a regular void pointer, not and __iomem one.

Signed-off-by: Christoph Hellwig <hch@lst.de>

+1 -1
+1 -1
kernel/dma/coherent.c
··· 43 43 struct dma_coherent_mem **mem) 44 44 { 45 45 struct dma_coherent_mem *dma_mem = NULL; 46 - void __iomem *mem_base = NULL; 46 + void *mem_base = NULL; 47 47 int pages = size >> PAGE_SHIFT; 48 48 int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long); 49 49 int ret;