diff options
Diffstat (limited to 'include/linux/hypervisor.h')
-rw-r--r-- | include/linux/hypervisor.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/hypervisor.h b/include/linux/hypervisor.h new file mode 100644 index 000000000000..3fa5ef2b3759 --- /dev/null +++ b/include/linux/hypervisor.h | |||
@@ -0,0 +1,17 @@ | |||
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_HYPERVISOR_GUEST | ||
10 | #include <asm/hypervisor.h> | ||
11 | #else | ||
12 | static inline void hypervisor_pin_vcpu(int cpu) | ||
13 | { | ||
14 | } | ||
15 | #endif | ||
16 | |||
17 | #endif /* __LINUX_HYPEVISOR_H */ | ||