mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 03:29:47 +07:00
775c8a3d71
Based on 1 normalized pattern(s): this file is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 51 franklin st fifth floor boston ma 02110 1301 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 8 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081207.443595178@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
518 B
C
25 lines
518 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* kvm asynchronous fault support
|
|
*
|
|
* Copyright 2010 Red Hat, Inc.
|
|
*
|
|
* Author:
|
|
* Gleb Natapov <gleb@redhat.com>
|
|
*/
|
|
|
|
#ifndef __KVM_ASYNC_PF_H__
|
|
#define __KVM_ASYNC_PF_H__
|
|
|
|
#ifdef CONFIG_KVM_ASYNC_PF
|
|
int kvm_async_pf_init(void);
|
|
void kvm_async_pf_deinit(void);
|
|
void kvm_async_pf_vcpu_init(struct kvm_vcpu *vcpu);
|
|
#else
|
|
#define kvm_async_pf_init() (0)
|
|
#define kvm_async_pf_deinit() do {} while (0)
|
|
#define kvm_async_pf_vcpu_init(C) do {} while (0)
|
|
#endif
|
|
|
|
#endif
|