ARM: LPAE: use phys_addr_t in free_memmap()
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 <e15bea67e0bd782de26f1c3a3259ad680ed0e6e8@ti.com>
Signed-off-by: Cyril Chemparathy <367d233c448abb973a0136207eb0cf446765a6f5@ti.com>
Acked-by: Nicolas Pitre <d659c10e27d52b00987b65e85d99bce5480adcae@linaro.org>
Tested-by: Santosh Shilimkar <5b4d8dc9ea337fff5fd1729321eda9873ade0b09@ti.com>
Tested-by: Subash Patel <54d4fdc546b2bd6c0faf7d09dc08465eddf18597@samsung.com>
Signed-off-by: Will Deacon <b913f13ef92ac157955c954ccaaff7be065faba4@arm.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs