]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/linux/hypervisor.h
seccomp: Add filter flag to opt-out of SSB mitigation
[mirror_ubuntu-artful-kernel.git] / include / linux / hypervisor.h
CommitLineData
47ae4b05
JG
1#ifndef __LINUX_HYPEVISOR_H
2#define __LINUX_HYPEVISOR_H
3
4/*
5 * Generic Hypervisor support
6 * Juergen Gross <jgross@suse.com>
7 */
8
2d0b017b
JG
9#ifdef CONFIG_X86
10#include <asm/x86_init.h>
11static inline void hypervisor_pin_vcpu(int cpu)
12{
13 x86_platform.hyper.pin_vcpu(cpu);
14}
47ae4b05
JG
15#else
16static inline void hypervisor_pin_vcpu(int cpu)
17{
18}
19#endif
20
21#endif /* __LINUX_HYPEVISOR_H */