arm64: percpu: implement optimised pcpu access using tpidr_el1
authorWill Deacon <will.deacon@arm.com>
Tue, 5 Nov 2013 18:10:47 +0000 (18:10 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 19 Dec 2013 17:43:06 +0000 (17:43 +0000)
commit7158627686f02319c50c8d9d78f75d4c8d126ff2
tree3b4d781bd966f07cad1b67b137f0ff8b89430e9a
parent66aa8d6a145b6a66566b4fce219cc56c3d0e01c3
arm64: percpu: implement optimised pcpu access using tpidr_el1

This patch implements optimised percpu variable accesses using the
el1 r/w thread register (tpidr_el1) along the same lines as arch/arm/.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/Kbuild
arch/arm64/include/asm/percpu.h [new file with mode: 0644]
arch/arm64/kernel/setup.c
arch/arm64/kernel/smp.c