[ARM] Fix some corner cases in new mm initialisation
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 17 Nov 2005 22:43:30 +0000 (22:43 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 17 Nov 2005 22:43:30 +0000 (22:43 +0000)
commit02b30839220fa3ef80a34ed6ee174fa2d9937eac
treefaac60850e1e51b892622887c9f7cc37e2891e5e
parent67a1901ff498363e253b90ba132e336c925203ed
[ARM] Fix some corner cases in new mm initialisation

Document that the VMALLOC_END address must be aligned to 2MB since
it must align with a PGD boundary.

Allocate the vectors page early so that the flush_cache_all() later
will cause any dirty cache lines in the direct mapping will be safely
written back.

Move the flush_cache_all() to the second local_flush_cache_tlb() and
remove the now redundant first local_flush_cache_tlb().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Documentation/arm/memory.txt
arch/arm/mm/init.c