debug-sr.c 399 B

123456789101112131415161718192021
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2015 - ARM Ltd
  4. * Author: Marc Zyngier <marc.zyngier@arm.com>
  5. */
  6. #include <hyp/debug-sr.h>
  7. #include <linux/kvm_host.h>
  8. #include <asm/kvm_hyp.h>
  9. void __debug_switch_to_guest(struct kvm_vcpu *vcpu)
  10. {
  11. __debug_switch_to_guest_common(vcpu);
  12. }
  13. void __debug_switch_to_host(struct kvm_vcpu *vcpu)
  14. {
  15. __debug_switch_to_host_common(vcpu);
  16. }