diff options
author | Will Deacon <will.deacon@arm.com> | 2013-02-28 20:46:16 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-03-04 02:54:13 +0400 |
commit | d61947a164760ac520cb416768afdf38c33d60e7 (patch) | |
tree | cc0fcb95a82816639184dc0c26fe0d1293679307 /arch/arm/mm/context.c | |
parent | 904464b91eca8c665acea033489225af02eeb75a (diff) | |
download | linux-d61947a164760ac520cb416768afdf38c33d60e7.tar.xz |
ARM: 7657/1: head: fix swapper and idmap population with LPAE and big-endian
The LPAE page table format uses 64-bit descriptors, so we need to take
endianness into account when populating the swapper and idmap tables
during early initialisation.
This patch ensures that we store the two words making up each page table
entry in the correct order when running big-endian.
Cc: <stable@vger.kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/context.c')
0 files changed, 0 insertions, 0 deletions