https://github.com/torvalds/linux
Revision 56731b16ce5a9f11cb9496d76e4ffac11987fc85 authored by Brian Keiseler on 12 January 2015, 11:04:12 UTC, committed by Brian Keiseler on 12 January 2015, 11:04:12 UTC
1 parent 5019485
Raw File
Tip revision: 56731b16ce5a9f11cb9496d76e4ffac11987fc85 authored by Brian Keiseler on 12 January 2015, 11:04:12 UTC
Update Copyright
Tip revision: 56731b1
kvm_para.h
#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 */
back to top