ARMv7: Add SMP initialisation to proc-v7.S
authorJon Callan <Jon.Callan@arm.com>
Thu, 6 Nov 2008 13:23:09 +0000 (13:23 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 6 Nov 2008 13:23:09 +0000 (13:23 +0000)
commit73b63efaac7352c9e2bf1570fac98fd44a99f8f9
tree9bdb18703567d643f57bc7e068f1f47df487fd88
parent6b07d7fea0496374ff7754dc3d1dca03b2911828
ARMv7: Add SMP initialisation to proc-v7.S

This patch adds the SMP/nAMP mode setting to __v7_setup and also sets
TTBR to shared page table walks if SMP is enabled. The PTWs are also
marked inner cacheable for both SMP and UP modes (setting this is fine
even if the CPU doesn't support the feature).

Signed-off-by: Jon Callan <Jon.Callan@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/mm/proc-v7.S