aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/setup-ide.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-10-27 19:57:38 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-10-28 13:54:45 +0100
commit8df6516864462cb7a6f87d5a46df68fb0faebbb5 (patch)
tree2db5634fa29b20bf6e64ce9446aef5a5e51b9c54 /arch/arm/mach-s3c64xx/setup-ide.c
parentARM: memblock: move meminfo into find_limits directly (diff)
downloadlinux-dev-8df6516864462cb7a6f87d5a46df68fb0faebbb5.tar.xz
linux-dev-8df6516864462cb7a6f87d5a46df68fb0faebbb5.zip
ARM: memblock: setup lowmem mappings using memblock
Use memblock information to setup lowmem mappings rather than the membank array. This allows platforms to manipulate the memblock information during initialization to reserve (and remove) memory from the kernel's view of memory - and thus allowing platforms to setup their own private mappings for this memory without causing problems with multiple aliasing mappings: size = min(size, SZ_2M); base = memblock_alloc(size, min(align, SZ_2M)); memblock_free(base, size); memblock_remove(base, size); This is needed because multiple mappings of regions with differing attributes (sharability, type, cache) are not permitted with ARMv6 and above. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c64xx/setup-ide.c')
0 files changed, 0 insertions, 0 deletions