diff options
author | Vitaly Andrianov <vitalya@ti.com> | 2012-12-05 09:29:25 -0500 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2012-12-11 09:28:09 +0100 |
commit | 4009793e15d44469da1547a46ab129cc08ffa503 (patch) | |
tree | 7d5e89b42669f647278d21284517f3256d051259 /lib/is_single_threaded.c | |
parent | 387870f2d6d679746020fa8e25ef786ff338dc98 (diff) |
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 'lib/is_single_threaded.c')
0 files changed, 0 insertions, 0 deletions