From 8df6516864462cb7a6f87d5a46df68fb0faebbb5 Mon Sep 17 00:00:00 2001 From: Russell King Date: Wed, 27 Oct 2010 19:57:38 +0100 Subject: [PATCH] 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 --- Reading git-format-patch failed