KVM: add kvm_arch_para_features stub to asm-generic/kvm_para.h
authorMarcelo Tosatti <mtosatti@redhat.com>
Fri, 20 Apr 2012 21:21:46 +0000 (18:21 -0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 20 Apr 2012 21:24:54 +0000 (18:24 -0300)
Needed by kvm_para_has_feature().

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
include/asm-generic/kvm_para.h

index 05ef7e7059393fe137bea015243dab960ee34a89..9a7bbadb688d174c99a37a3861fdbba9f52fa1ac 100644 (file)
@@ -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