summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2015-07-07 16:29:59 (GMT)
committerMarc Zyngier <marc.zyngier@arm.com>2015-07-21 11:47:08 (GMT)
commite0a1b9a937dc6df9eb402af8966b5d617c7c6b34 (patch)
treeea7d657f75973e262c02aefbfb519de18d41549f /arch/arm64/kernel/asm-offsets.c
parent337b99bf7edfb2044781447e7ca386edb1fdba9d (diff)
downloadlinux-e0a1b9a937dc6df9eb402af8966b5d617c7c6b34.tar.xz
KVM: arm64: re-factor hyp.S debug register code
This is a pre-cursor to sharing the code with the guest debug support. This replaces the big macro that fishes data out of a fixed location with a more general helper macro to restore a set of debug registers. It uses macro substitution so it can be re-used for debug control and value registers. It does however rely on the debug registers being 64 bit aligned (as they happen to be in the hyp ABI). Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions