|
@@ -1614,7 +1614,7 @@ DMA_MemType_t dma_mem_type(void *addr)
|
|
{
|
|
{
|
|
unsigned long addrVal = (unsigned long)addr;
|
|
unsigned long addrVal = (unsigned long)addr;
|
|
|
|
|
|
- if (addrVal >= VMALLOC_END) {
|
|
|
|
|
|
+ if (addrVal >= CONSISTENT_BASE) {
|
|
/* NOTE: DMA virtual memory space starts at 0xFFxxxxxx */
|
|
/* NOTE: DMA virtual memory space starts at 0xFFxxxxxx */
|
|
|
|
|
|
/* dma_alloc_xxx pages are physically and virtually contiguous */
|
|
/* dma_alloc_xxx pages are physically and virtually contiguous */
|