linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] KVM: add kvm_para_available to asm-generic/kvm_para.h
@ 2013-05-22 11:29 James Hogan
  2013-05-22 11:29 ` James Hogan
  2013-06-04  9:05 ` Gleb Natapov
  0 siblings, 2 replies; 6+ messages in thread
From: James Hogan @ 2013-05-22 11:29 UTC (permalink / raw)
  To: kvm, linux-kernel, linux-arch
  Cc: James Hogan, Marcelo Tosatti, Gleb Natapov, Arnd Bergmann

According to include/uapi/linux/kvm_para.h architectures should define
kvm_para_available, so add an implementation to asm-generic/kvm_para.h
which just returns false.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Gleb Natapov <gleb@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>
---
 include/asm-generic/kvm_para.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/asm-generic/kvm_para.h b/include/asm-generic/kvm_para.h
index 9d96605..fa25bec 100644
--- a/include/asm-generic/kvm_para.h
+++ b/include/asm-generic/kvm_para.h
@@ -18,4 +18,9 @@ static inline unsigned int kvm_arch_para_features(void)
 	return 0;
 }
 
+static inline bool kvm_para_available(void)
+{
+	return false;
+}
+
 #endif
-- 
1.8.1.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-06-05 10:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-22 11:29 [PATCH 1/1] KVM: add kvm_para_available to asm-generic/kvm_para.h James Hogan
2013-05-22 11:29 ` James Hogan
2013-06-04  9:05 ` Gleb Natapov
2013-06-04  9:05   ` Gleb Natapov
2013-06-04 11:33   ` James Hogan
2013-06-05 10:17     ` Gleb Natapov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).