arm: mm: Don't free prohibited memmap entries
commit3260e5293727f16ffdce9a6a6203fd9a6b149e58
authorMichael Bohan <mbohan@codeaurora.org>
Mon, 14 Jun 2010 20:06:56 +0000 (14 13:06 -0700)
committerDaniel Walker <dwalker@codeaurora.org>
Tue, 15 Jun 2010 20:19:55 +0000 (15 13:19 -0700)
tree5be7569566f262f3c953e8ac9bbec6f656c03354
parent923a081c72fa2dccb7ea7070bd8e0f4dc99ceff8
arm: mm: Don't free prohibited memmap entries

The VM subsystem assumes that there are valid memmap entries to
the bank end aligned to MAX_ORDER_NR_PAGES. It will try and read
these page structs, and so we cannot free any memmap entries that
it may inspect.

Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
arch/arm/mm/init.c