arm64: Add this_cpu_ptr() assembler macro for use in entry.S
authorJames Morse <james.morse@arm.com>
Thu, 10 Dec 2015 10:22:39 +0000 (10:22 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 10 Dec 2015 12:08:09 +0000 (12:08 +0000)
commitaa4d5d3cbc258c355151a3903211b27359390ec5
treeabeb7f9963ff7fc4a867f14009f7a11b74cfae2d
parent7596abf2e5661d52c4f414f37addeed54e098880
arm64: Add this_cpu_ptr() assembler macro for use in entry.S

irq_stack is a per_cpu variable, that needs to be access from entry.S.
Use an assembler macro instead of the unreadable details.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/assembler.h
arch/arm64/kernel/entry.S