ARM: 6942/1: mm: make TTBR1 always point to swapper_pg_dir on ARMv6/7
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 26 May 2011 10:22:44 +0000 (11:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 26 May 2011 11:14:32 +0000 (12:14 +0100)
commitd427958a46af24f75d0017c45eadd172273bbf33
treee4279d383e7eaccdfe22420abe0a68a35bcc4c85
parenta248b13b21ae00b97638b4f435c8df3075808b5d
ARM: 6942/1: mm: make TTBR1 always point to swapper_pg_dir on ARMv6/7

This patch makes TTBR1 point to swapper_pg_dir so that global, kernel
mappings can be used exclusively on v6 and v7 cores where they are
needed.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/smp.h
arch/arm/kernel/head.S
arch/arm/kernel/smp.c
arch/arm/mm/proc-v6.S
arch/arm/mm/proc-v7.S