summaryrefslogtreecommitdiff
path: root/include/asm-generic/kvm_para.h
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2012-04-21 01:21:46 +0400
committerMarcelo Tosatti <mtosatti@redhat.com>2012-04-21 01:24:54 +0400
commit1f15d10984c854e077da5aa1a23f901496b49773 (patch)
tree38b0c6fb2bf22413c02e83d9e3b8f28333131cf8 /include/asm-generic/kvm_para.h
parent8281715b4109b5ee26032ff7b77c0d575c4150f7 (diff)
downloadlinux-1f15d10984c854e077da5aa1a23f901496b49773.tar.xz
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>
Diffstat (limited to 'include/asm-generic/kvm_para.h')
-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 05ef7e705939..9a7bbadb688d 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