From: Dima Zavin Date: Fri, 14 Jan 2011 22:05:14 +0000 (+0100) Subject: ARM: 6625/1: use memblock memory regions for "System RAM" I/O resources X-Git-Tag: v2.6.38-rc1~39^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11b9369cbb0a13cabb581aec3e6812a171cf2fd7;p=pandora-kernel.git ARM: 6625/1: use memblock memory regions for "System RAM" I/O resources Do not use memory bank info to request the "system ram" resources as they do not track holes created by memblock_remove inside machine's reserve callback. If the removed memory is passed as platform_device's ioresource, then drivers that call request_mem_region would fail due to a conflict with the incorrectly configured system ram resource. Instead, iterate through the regions of memblock.memory and add those as "System RAM" resources. Signed-off-by: Dima Zavin Signed-off-by: Russell King --- Reading git-diff-tree failed