From: Vitaly Andrianov Date: Wed, 5 Dec 2012 14:29:25 +0000 (-0500) Subject: drivers: cma: represent physical addresses as phys_addr_t X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~92^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4009793e15d44469da1547a46ab129cc08ffa503;p=pandora-kernel.git 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 Signed-off-by: Cyril Chemparathy Acked-by: Michal Nazarewicz Signed-off-by: Marek Szyprowski --- Reading git-diff-tree failed