^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * kvm asynchronous fault support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Copyright 2010 Red Hat, Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * Author:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) * Gleb Natapov <gleb@redhat.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #ifndef __KVM_ASYNC_PF_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #define __KVM_ASYNC_PF_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #ifdef CONFIG_KVM_ASYNC_PF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) int kvm_async_pf_init(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) void kvm_async_pf_deinit(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) void kvm_async_pf_vcpu_init(struct kvm_vcpu *vcpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #define kvm_async_pf_init() (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #define kvm_async_pf_deinit() do {} while (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #define kvm_async_pf_vcpu_init(C) do {} while (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #endif