]> Git Repo - linux.git/blame - virt/kvm/async_pf.h
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux.git] / virt / kvm / async_pf.h
CommitLineData
775c8a3d 1/* SPDX-License-Identifier: GPL-2.0-only */
af585b92
GN
2/*
3 * kvm asynchronous fault support
4 *
5 * Copyright 2010 Red Hat, Inc.
6 *
7 * Author:
8 * Gleb Natapov <[email protected]>
af585b92
GN
9 */
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)
d626f3d5
KM
20#define kvm_async_pf_deinit() do {} while (0)
21#define kvm_async_pf_vcpu_init(C) do {} while (0)
af585b92
GN
22#endif
23
24#endif
This page took 0.455315 seconds and 4 git commands to generate.