summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2012-04-20 23:21:46 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2012-04-20 23:24:54 +0200
commit1f15d10984c854e077da5aa1a23f901496b49773 (patch)
tree38b0c6fb2bf22413c02e83d9e3b8f28333131cf8
parentKVM: ia64: fix build due to typo (diff)
downloadlinux-1f15d10984c854e077da5aa1a23f901496b49773.tar.xz
linux-1f15d10984c854e077da5aa1a23f901496b49773.zip
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 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