mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 23:53:55 +08:00
607ca46e97
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
14 lines
260 B
C
14 lines
260 B
C
#ifndef __LINUX_KVM_PARA_H
|
|
#define __LINUX_KVM_PARA_H
|
|
|
|
#include <uapi/linux/kvm_para.h>
|
|
|
|
|
|
static inline int kvm_para_has_feature(unsigned int feature)
|
|
{
|
|
if (kvm_arch_para_features() & (1UL << feature))
|
|
return 1;
|
|
return 0;
|
|
}
|
|
#endif /* __LINUX_KVM_PARA_H */
|