ARM: hotplug cpu: ensure that __enable_mmu is identity mapped
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Oct 2010 16:51:54 +0000 (17:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 8 Oct 2010 09:07:34 +0000 (10:07 +0100)
__enable_mmu is required to be executed in an identity mapped region
to ensure that variances in CPUs do not cause a crash.  We currently
achieve this by assuming that it will be co-located with
__create_page_tables.  With hotplug CPU support, this assumption
becomes invalid.  Implement a better solution which ensures that
it will be appropriately mapped no matter where it is placed.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found