浏览代码

KVM: add kvm_arch_para_features stub to asm-generic/kvm_para.h

Needed by kvm_para_has_feature().

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Marcelo Tosatti 13 年之前
父节点
当前提交
1f15d10984
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      include/asm-generic/kvm_para.h

+ 5 - 0
include/asm-generic/kvm_para.h

@@ -11,4 +11,9 @@ static inline bool kvm_check_and_clear_guest_paused(void)
 	return false;
 }
 
+static inline unsigned int kvm_arch_para_features(void)
+{
+	return 0;
+}
+
 #endif