From: Vitaly Andrianov Date: Thu, 21 Jun 2012 12:09:05 +0000 (-0400) Subject: ARM: LPAE: use phys_addr_t in free_memmap() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~41^2^2~3^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56bc628666b39dc8cb395c7686d8c032efd731f4;p=pandora-kernel.git ARM: LPAE: use phys_addr_t in free_memmap() The free_memmap() was mistakenly using unsigned long type to represent physical addresses. This breaks on PAE systems where memory could be placed above the 32-bit addressible limit. This patch fixes this function to properly use phys_addr_t instead. Signed-off-by: Vitaly Andrianov Signed-off-by: Cyril Chemparathy Acked-by: Nicolas Pitre Tested-by: Santosh Shilimkar Tested-by: Subash Patel Signed-off-by: Will Deacon --- Reading git-diff-tree failed