summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2012-04-20 18:21:46 -0300
committerMarcelo Tosatti <mtosatti@redhat.com>2012-04-20 18:24:54 -0300
commit1f15d10984c854e077da5aa1a23f901496b49773 (patch)
tree38b0c6fb2bf22413c02e83d9e3b8f28333131cf8
parent8281715b4109b5ee26032ff7b77c0d575c4150f7 (diff)
downloadop-kernel-dev-1f15d10984c854e077da5aa1a23f901496b49773.zip
op-kernel-dev-1f15d10984c854e077da5aa1a23f901496b49773.tar.gz
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>
-rw-r--r--include/asm-generic/kvm_para.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-generic/kvm_para.h b/include/asm-generic/kvm_para.h
index 05ef7e7..9a7bbad 100644
--- a/include/asm-generic/kvm_para.h
+++ b/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
OpenPOWER on IntegriCloud