From: James Hogan Date: Wed, 22 May 2013 11:29:22 +0000 (+0100) Subject: KVM: add kvm_para_available to asm-generic/kvm_para.h X-Git-Tag: v3.12-rc1~654^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=066a1a5fca0e188c41636d0874ab7495f24f595b;p=kernel%2Fkernel-generic.git 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 Cc: Marcelo Tosatti Cc: Gleb Natapov Cc: Arnd Bergmann Signed-off-by: Gleb Natapov --- 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