summaryrefslogtreecommitdiff
path: root/mm/dmapool.c
diff options
context:
space:
mode:
authorVitaly Andrianov <vitalya@ti.com>2012-12-05 18:29:25 +0400
committerMarek Szyprowski <m.szyprowski@samsung.com>2012-12-11 12:28:09 +0400
commit4009793e15d44469da1547a46ab129cc08ffa503 (patch)
tree7d5e89b42669f647278d21284517f3256d051259 /mm/dmapool.c
parent387870f2d6d679746020fa8e25ef786ff338dc98 (diff)
downloadlinux-4009793e15d44469da1547a46ab129cc08ffa503.tar.xz
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 'mm/dmapool.c')
0 files changed, 0 insertions, 0 deletions