OSDN Git Service

FROMLIST: arm64: Move post_ttbr_update_workaround to C code
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 2 Jan 2018 18:19:39 +0000 (18:19 +0000)
committerGreg Hackmann <ghackmann@google.com>
Thu, 18 Jan 2018 18:19:02 +0000 (18:19 +0000)
commitda94c13a990c600646f173b41fe27dec28660f60
tree06fa3bd78aba8f99dcaa6a5c3b0fa0ba7bc7fafa
parentc30184d9b66164f4c4d18a333bfe2b5f323cf0e2
FROMLIST: arm64: Move post_ttbr_update_workaround to C code

We will soon need to invoke a CPU-specific function pointer after changing
page tables, so move post_ttbr_update_workaround out into C code to make
this possible.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
 commit 400a169447ad2268b023637a118fba27246bcc19)

Change-Id: I4e6edb3dcb6aabe9c17e4698619a093e76495b36
Signed-off-by: Greg Hackmann <ghackmann@google.com>
arch/arm64/include/asm/assembler.h
arch/arm64/kernel/entry.S
arch/arm64/mm/context.c
arch/arm64/mm/proc.S