ARM: keystone2: move update of the phys-to-virt constants into generic code
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 4 Apr 2015 08:53:38 +0000 (09:53 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 1 Jun 2015 22:45:50 +0000 (23:45 +0100)
Make the init_meminfo function return the offset to be applied to the
phys-to-virt translation constants.  This allows us to move the update
into generic code, along with the requirements for this update.

This avoids platforms having to know the details of the phys-to-virt
translation support.

Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Tested-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/mach/arch.h
arch/arm/mach-keystone/keystone.c
arch/arm/mm/mmu.c

Simple merge
Simple merge
Simple merge