diff options
author | Dima Zavin <dima@android.com> | 2011-01-15 01:05:14 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-15 01:14:04 +0300 |
commit | 11b9369cbb0a13cabb581aec3e6812a171cf2fd7 (patch) | |
tree | 92f47c2f30eb4910b2720165476e5112a8359b32 /arch/arm/mach-pxa/generic.c | |
parent | 30b99d07b7e08d0e6bcc2f0b924828c03e67f881 (diff) | |
download | linux-11b9369cbb0a13cabb581aec3e6812a171cf2fd7.tar.xz |
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 <dima@android.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/generic.c')
0 files changed, 0 insertions, 0 deletions