]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Move __get_fault_info() and co into their own include file
authorMarc Zyngier <maz@kernel.org>
Sun, 10 Oct 2021 14:56:26 +0000 (15:56 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 11 Oct 2021 13:57:27 +0000 (14:57 +0100)
commit5939e1a1a67aaf2db24b797dfba02472073ec191
tree99497f172c4bdb5ed46e4a98fbcc0a8b806f00c8
parent87a799989d15ec119f470890374f7bd919def84c
KVM: arm64: Move __get_fault_info() and co into their own include file

In order to avoid including the whole of the switching helpers
in unrelated files, move the __get_fault_info() and related helpers
into their own include file.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20211010145636.1950948-2-tabba@google.com
arch/arm64/kvm/hyp/include/hyp/fault.h [new file with mode: 0644]
arch/arm64/kvm/hyp/include/hyp/switch.h
arch/arm64/kvm/hyp/nvhe/mem_protect.c