Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Eric B Munson | 3b5d56b | 2012-03-10 14:37:26 -0500 | [diff] [blame] | 2 | #ifndef _ASM_GENERIC_KVM_PARA_H |
| 3 | #define _ASM_GENERIC_KVM_PARA_H |
| 4 | |
David Howells | 8a1ab31 | 2012-10-04 18:20:15 +0100 | [diff] [blame] | 5 | #include <uapi/asm-generic/kvm_para.h> |
| 6 | |
Eric B Munson | 3b5d56b | 2012-03-10 14:37:26 -0500 | [diff] [blame] | 7 | |
| 8 | /* |
| 9 | * This function is used by architectures that support kvm to avoid issuing |
| 10 | * false soft lockup messages. |
| 11 | */ |
| 12 | static inline bool kvm_check_and_clear_guest_paused(void) |
| 13 | { |
| 14 | return false; |
| 15 | } |
| 16 | |
Marcelo Tosatti | 1f15d10 | 2012-04-20 18:21:46 -0300 | [diff] [blame] | 17 | static inline unsigned int kvm_arch_para_features(void) |
| 18 | { |
| 19 | return 0; |
| 20 | } |
| 21 | |
Wanpeng Li | a4429e5 | 2018-02-13 09:05:40 +0800 | [diff] [blame] | 22 | static inline unsigned int kvm_arch_para_hints(void) |
| 23 | { |
| 24 | return 0; |
| 25 | } |
| 26 | |
James Hogan | 066a1a5 | 2013-05-22 12:29:22 +0100 | [diff] [blame] | 27 | static inline bool kvm_para_available(void) |
| 28 | { |
| 29 | return false; |
| 30 | } |
| 31 | |
Eric B Munson | 3b5d56b | 2012-03-10 14:37:26 -0500 | [diff] [blame] | 32 | #endif |