summaryrefslogtreecommitdiff
path: root/arch/arm/mm/context.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-02-28 20:46:16 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-03-04 02:54:13 +0400
commitd61947a164760ac520cb416768afdf38c33d60e7 (patch)
treecc0fcb95a82816639184dc0c26fe0d1293679307 /arch/arm/mm/context.c
parent904464b91eca8c665acea033489225af02eeb75a (diff)
downloadlinux-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