projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c72e0d
)
microblaze: remove DMA_ERROR_CODE
author
Christoph Hellwig
<hch@lst.de>
Sun, 21 May 2017 10:30:35 +0000
(12:30 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Tue, 20 Jun 2017 09:13:04 +0000
(11:13 +0200)
microblaze does not return errors for dma_map_page.
Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/microblaze/include/asm/dma-mapping.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/include/asm/dma-mapping.h
b/arch/microblaze/include/asm/dma-mapping.h
index 3fad5e722a6690b43ddae12092dfc53f73e52501..e15cd2f76e23afb8a086a77ebf2ea2ee2f7e8b22 100644
(file)
--- a/
arch/microblaze/include/asm/dma-mapping.h
+++ b/
arch/microblaze/include/asm/dma-mapping.h
@@
-28,8
+28,6
@@
#include <asm/io.h>
#include <asm/cacheflush.h>
-#define DMA_ERROR_CODE (~(dma_addr_t)0x0)
-
#define __dma_alloc_coherent(dev, gfp, size, handle) NULL
#define __dma_free_coherent(size, addr) ((void)0)