]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commitc8ca2b4b29282605698968d15667939b23e208e2
treed1e5a25994ef90c51ce017f30b5d65ee375ce37a
parent30b5f4d6128e12c17a0e54cac685a048c3d8d862
ARM: keystone2: move update of the phys-to-virt constants into generic code

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