]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93a65ef0989835fbf515043be1b381531c4d127f
treeabeb7f9963ff7fc4a867f14009f7a11b74cfae2d
parentf174dad0e1fabafda7cf5e61f48db47ff0cf7359
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