]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/linux/hypervisor.h
bpf: Prevent memory disambiguation attack
[mirror_ubuntu-artful-kernel.git] / include / linux / hypervisor.h
1 #ifndef __LINUX_HYPEVISOR_H
2 #define __LINUX_HYPEVISOR_H
3
4 /*
5 * Generic Hypervisor support
6 * Juergen Gross <jgross@suse.com>
7 */
8
9 #ifdef CONFIG_X86
10 #include <asm/x86_init.h>
11 static inline void hypervisor_pin_vcpu(int cpu)
12 {
13 x86_platform.hyper.pin_vcpu(cpu);
14 }
15 #else
16 static inline void hypervisor_pin_vcpu(int cpu)
17 {
18 }
19 #endif
20
21 #endif /* __LINUX_HYPEVISOR_H */