diff options
Diffstat (limited to 'include/asm-generic/kvm_para.h')
-rw-r--r-- | include/asm-generic/kvm_para.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/asm-generic/kvm_para.h b/include/asm-generic/kvm_para.h new file mode 100644 index 000000000000..5cba37f9eae1 --- /dev/null +++ b/include/asm-generic/kvm_para.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef _ASM_GENERIC_KVM_PARA_H | ||
2 | #define _ASM_GENERIC_KVM_PARA_H | ||
3 | |||
4 | #ifdef __KERNEL__ | ||
5 | |||
6 | /* | ||
7 | * This function is used by architectures that support kvm to avoid issuing | ||
8 | * false soft lockup messages. | ||
9 | */ | ||
10 | static inline bool kvm_check_and_clear_guest_paused(void) | ||
11 | { | ||
12 | return false; | ||
13 | } | ||
14 | |||
15 | static inline unsigned int kvm_arch_para_features(void) | ||
16 | { | ||
17 | return 0; | ||
18 | } | ||
19 | |||
20 | #endif /* _KERNEL__ */ | ||
21 | |||
22 | #endif | ||