summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/kvm_para.h
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-05-22 13:29:22 +0200
committerGleb Natapov <gleb@redhat.com>2013-06-05 12:21:29 +0200
commit066a1a5fca0e188c41636d0874ab7495f24f595b (patch)
treefdc8a15ada615464f95ed754cbb36e068c558bcf /include/asm-generic/kvm_para.h
parentMerge tag 'mmc-fixes-for-3.10-rc5' of git://git.kernel.org/pub/scm/linux/kern... (diff)
downloadlinux-066a1a5fca0e188c41636d0874ab7495f24f595b.tar.xz
linux-066a1a5fca0e188c41636d0874ab7495f24f595b.zip
KVM: add kvm_para_available to asm-generic/kvm_para.h
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. This fixes intel8x0.c build failure on mips with KVM enabled. 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> Signed-off-by: Gleb Natapov <gleb@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 9d96605f160a..fa25becbdcaf 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