[PATCH v2 08/22] ARM: LPAE: use phys_addr_t in free_memmap()

2012-08-10 Thread Cyril Chemparathy
From: Vitaly Andrianov 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:

[PATCH v2 08/22] ARM: LPAE: use phys_addr_t in free_memmap()

2012-08-10 Thread Cyril Chemparathy
From: Vitaly Andrianov vita...@ti.com 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.