projects
/
GitHub
/
LineageOS
/
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:
9b74202
)
ARM: Remove support for macro CONSISTENT_DMA_SIZE
author
Jon Medhurst
<tixy@yxit.co.uk>
Thu, 4 Aug 2011 16:10:14 +0000
(17:10 +0100)
committer
Jon Medhurst
<tixy@yxit.co.uk>
Mon, 22 Aug 2011 12:00:12 +0000
(12:00 +0000)
There are now no platforms which set this macro.
Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
arch/arm/mm/dma-mapping.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mm/dma-mapping.c
b/arch/arm/mm/dma-mapping.c
index 5b59ce5728778d92ee76643bbc680a3311a65e25..50be842e89fd06ca43c9dd71a296509ad065bb1b 100644
(file)
--- a/
arch/arm/mm/dma-mapping.c
+++ b/
arch/arm/mm/dma-mapping.c
@@
-129,11
+129,7
@@
static void __dma_free_buffer(struct page *page, size_t size)
*/
static pte_t **consistent_pte;
-#ifdef CONSISTENT_DMA_SIZE
-#define DEFAULT_CONSISTENT_DMA_SIZE CONSISTENT_DMA_SIZE
-#else
#define DEFAULT_CONSISTENT_DMA_SIZE SZ_2M
-#endif
unsigned long consistent_base = CONSISTENT_END - DEFAULT_CONSISTENT_DMA_SIZE;