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:
7146182
)
ARM: mach-bcmring: use proper constant to identify DMA memory area
author
Nicolas Pitre
<nicolas.pitre@linaro.org>
Thu, 15 Sep 2011 20:23:45 +0000
(16:23 -0400)
committer
Nicolas Pitre
<nico@fluxnic.net>
Fri, 18 Nov 2011 18:51:15 +0000
(13:51 -0500)
Using VMALLOC_END implies a presumption about the layout which is best
avoided, even if in practice this would not change much.
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/mach-bcmring/dma.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-bcmring/dma.c
b/arch/arm/mach-bcmring/dma.c
index b52b8de91bde72c2a4847c1a37a44f425974612d..8751582a6cb15be4ab3ecea5282b2a95d2a0d86e 100644
(file)
--- a/
arch/arm/mach-bcmring/dma.c
+++ b/
arch/arm/mach-bcmring/dma.c
@@
-1614,7
+1614,7
@@
DMA_MemType_t dma_mem_type(void *addr)
{
unsigned long addrVal = (unsigned long)addr;
- if (addrVal >=
VMALLOC_END
) {
+ if (addrVal >=
CONSISTENT_BASE
) {
/* NOTE: DMA virtual memory space starts at 0xFFxxxxxx */
/* dma_alloc_xxx pages are physically and virtually contiguous */