arm: mm: Don't free prohibited memmap entries
authorMichael Bohan <mbohan@codeaurora.org>
Tue, 31 Aug 2010 04:43:20 +0000 (21:43 -0700)
committerSteve Kondik <shade@chemlab.org>
Sun, 5 Sep 2010 04:26:47 +0000 (00:26 -0400)
commit19aaece2846881477c093a8ce9c2f85e87394403
tree53ac4816b562fda8701f40447a3d4916a3312b26
parent8f8a2b17fdde2ba2655d6f17381045e121a1bf6c
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>
Change-Id: I695198cf78d69cb5b279adcf376c6458d340da91
arch/arm/mm/init.c