diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-04-04 10:25:28 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-06-01 23:45:54 +0100 |
commit | 39b74fe82f734ac0bec726733805bb7d46c95933 (patch) | |
tree | c1f8f2298c28f9c34d69d2cbd71ca854ff05b476 /arch/arm/mm/mmu.c | |
parent | c8ca2b4b29282605698968d15667939b23e208e2 (diff) | |
download | linux-39b74fe82f734ac0bec726733805bb7d46c95933.tar.gz linux-39b74fe82f734ac0bec726733805bb7d46c95933.tar.bz2 linux-39b74fe82f734ac0bec726733805bb7d46c95933.zip |
ARM: keystone2: move address space switch printk into generic code
There is no point platform code doing this, let's move it into the
generic code so it doesn't get duplicated.
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>
Diffstat (limited to 'arch/arm/mm/mmu.c')
-rw-r--r-- | arch/arm/mm/mmu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index 38ccbdf6c322..91262d28a4c9 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c @@ -1424,6 +1424,9 @@ void __init early_paging_init(const struct machine_desc *mdesc, if (offset == 0) return; + pr_info("Switching physical address space to 0x%08llx\n", + (u64)PHYS_OFFSET + offset); + /* Re-set the phys pfn offset, and the pv offset */ __pv_offset += offset; __pv_phys_pfn_offset += PFN_DOWN(offset); |