public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* KVM: add kvm_arch_para_features stub to asm-generic/kvm_para.h
@ 2012-04-20 21:21 Marcelo Tosatti
  0 siblings, 0 replies; only message in thread
From: Marcelo Tosatti @ 2012-04-20 21:21 UTC (permalink / raw)
  To: kvm


Needed by kvm_para_has_feature().

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-20 21:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-20 21:21 KVM: add kvm_arch_para_features stub to asm-generic/kvm_para.h Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox