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)
committerAlex Shi <alex.shi@linaro.org>
Mon, 10 Mar 2014 05:38:37 +0000 (13:38 +0800)
commit0be1f6174d684a162051e22f1fb7e4be1f77be4e
treef7edecfe53f5490afdbcb51c9119cb33f940e482
parentd8823fd71870cfef3968e00a9b2481c364cb8452
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