KVM: arm/arm64: Move kvm_is_write_fault to header file
authorChristoffer Dall <christoffer.dall@arm.com>
Sun, 1 May 2016 20:29:58 +0000 (22:29 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 19 Feb 2019 21:05:45 +0000 (21:05 +0000)
commit64cf98fa5544aee6c547786ee32f92b796b30635
tree019e045370167fb30e982ad16891fd94905dea56
parentbee038a67487598ebbe995f85bf60c3a5b2e9099
KVM: arm/arm64: Move kvm_is_write_fault to header file

Move this little function to the header files for arm/arm64 so other
code can make use of it directly.

Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_emulate.h
arch/arm64/include/asm/kvm_emulate.h
virt/kvm/arm/mmu.c