ARM: only consider memblocks with NOMAP cleared for linear mapping
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 1 Oct 2015 15:58:11 +0000 (17:58 +0200)
committerard <ard.biesheuvel@linaro.org>
Sun, 13 Dec 2015 18:18:29 +0000 (19:18 +0100)
commit09414d00a137cf7f42b6dc7415f346258d60e8da
tree2c437a5bc7e4248a9eb9c92c796ba76d8f7f1266
parentc7936206b9715d7a3075b53789c1fed0cab9147f
ARM: only consider memblocks with NOMAP cleared for linear mapping

Take the new memblock attribute MEMBLOCK_NOMAP into account when
deciding whether a certain region is or should be covered by the
kernel direct mapping.

Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
arch/arm/mm/init.c
arch/arm/mm/mmu.c