ARM: P2V: extend to 16-bit translation offsets
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 4 Jan 2011 19:39:29 +0000 (19:39 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 17 Feb 2011 23:27:33 +0000 (23:27 +0000)
commitcada3c0841e1deaec4c0f92654610b028dc683ff
tree9c6085c8b8447795ddc749315a31fd3906a6159d
parentdc21af99fadcfa0ae65b52fd0895f85824f0c288
ARM: P2V: extend to 16-bit translation offsets

MSM's memory is aligned to 2MB, which is more than we can do with our
existing method as we're limited to the upper 8 bits.  Extend this by
using two instructions to 16 bits, automatically selected when MSM is
enabled.

Acked-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/include/asm/memory.h
arch/arm/include/asm/module.h
arch/arm/kernel/head.S