ARM: mach-bcmring: use proper constant to identify DMA memory area

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>
This commit is contained in:
Nicolas Pitre 2011-09-15 16:23:45 -04:00 коммит произвёл Nicolas Pitre
Родитель 7146182c7f
Коммит bfcd2ea6a4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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 */