322728e55a
There are two functions in this asm-generic file. Looking at other arch which do not use the generic version, these two fcns are within an #ifdef __KERNEL__ block, so make the generic one consistent with those. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Avi Kivity <avi@redhat.com>
23 lines
379 B
C
23 lines
379 B
C
#ifndef _ASM_GENERIC_KVM_PARA_H
|
|
#define _ASM_GENERIC_KVM_PARA_H
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
/*
|
|
* This function is used by architectures that support kvm to avoid issuing
|
|
* false soft lockup messages.
|
|
*/
|
|
static inline bool kvm_check_and_clear_guest_paused(void)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
static inline unsigned int kvm_arch_para_features(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
#endif /* _KERNEL__ */
|
|
|
|
#endif
|