linux-surface/kernel/include/linux/hypervisor.h

19 lines
328 B
C
Raw Normal View History

2017-11-06 02:38:20 +00:00
/* SPDX-License-Identifier: GPL-2.0 */
2017-08-10 13:25:24 +00:00
#ifndef __LINUX_HYPEVISOR_H
#define __LINUX_HYPEVISOR_H
/*
* Generic Hypervisor support
* Juergen Gross <jgross@suse.com>
*/
#ifdef CONFIG_HYPERVISOR_GUEST
#include <asm/hypervisor.h>
#else
static inline void hypervisor_pin_vcpu(int cpu)
{
}
#endif
#endif /* __LINUX_HYPEVISOR_H */