diff options
author | Vitaly Andrianov | 2012-12-05 15:29:25 +0100 |
---|---|---|
committer | Marek Szyprowski | 2012-12-11 09:28:09 +0100 |
commit | 4009793e15d44469da1547a46ab129cc08ffa503 (patch) | |
tree | 7d5e89b42669f647278d21284517f3256d051259 /block | |
parent | mm: dmapool: use provided gfp flags for all dma_alloc_coherent() calls (diff) | |
download | kernel-qcow2-linux-4009793e15d44469da1547a46ab129cc08ffa503.tar.gz kernel-qcow2-linux-4009793e15d44469da1547a46ab129cc08ffa503.tar.xz kernel-qcow2-linux-4009793e15d44469da1547a46ab129cc08ffa503.zip |
drivers: cma: represent physical addresses as phys_addr_t
This commit changes the CMA early initialization code to use phys_addr_t
for representing physical addresses instead of unsigned long.
Without this change, among other things, dma_declare_contiguous() simply
discards any memory regions whose address is not representable as unsigned
long.
This is a problem on 32-bit PAE machines where unsigned long is 32-bit
but physical address space is larger.
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions