blob: 90d1a7d8c6de3644b496d77aa2eb3a215683599e [file] [log] [blame]
Thomas Gleixner775c8a32019-06-04 10:11:37 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Gleb Natapovaf585b92010-10-14 11:22:46 +02002/*
3 * kvm asynchronous fault support
4 *
5 * Copyright 2010 Red Hat, Inc.
6 *
7 * Author:
8 * Gleb Natapov <gleb@redhat.com>
Gleb Natapovaf585b92010-10-14 11:22:46 +02009 */
10
11#ifndef __KVM_ASYNC_PF_H__
12#define __KVM_ASYNC_PF_H__
13
14#ifdef CONFIG_KVM_ASYNC_PF
15int kvm_async_pf_init(void);
16void kvm_async_pf_deinit(void);
17void kvm_async_pf_vcpu_init(struct kvm_vcpu *vcpu);
18#else
19#define kvm_async_pf_init() (0)
Kevin Mulveyd626f3d2015-06-16 07:33:59 -040020#define kvm_async_pf_deinit() do {} while (0)
21#define kvm_async_pf_vcpu_init(C) do {} while (0)
Gleb Natapovaf585b92010-10-14 11:22:46 +020022#endif
23
24#endif