Patchwork [4/5] powerpc: Resolve KVM_HC_FEATURES compilation dependeny

login
register
mail settings
Submitter Bharat Bhushan
Date July 15, 2013, 11:11 a.m.
Message ID <1373886679-19581-5-git-send-email-Bharat.Bhushan@freescale.com>
Download mbox | patch
Permalink /patch/259004/
State New
Headers show

Comments

Bharat Bhushan - July 15, 2013, 11:11 a.m.
arch/powerpc/include/asm/kvm_para.h have dependency on uapi/linux/kvm_para.h
for KVM_HC_FEATURES

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
---
 arch/powerpc/include/asm/kvm_para.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Alexander Graf - July 15, 2013, 11:46 a.m.
On 15.07.2013, at 13:11, Bharat Bhushan wrote:

> arch/powerpc/include/asm/kvm_para.h have dependency on uapi/linux/kvm_para.h
> for KVM_HC_FEATURES
> 
> Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
> ---
> arch/powerpc/include/asm/kvm_para.h |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/powerpc/include/asm/kvm_para.h b/arch/powerpc/include/asm/kvm_para.h
> index 2b11965..8bdfd22 100644
> --- a/arch/powerpc/include/asm/kvm_para.h
> +++ b/arch/powerpc/include/asm/kvm_para.h
> @@ -20,6 +20,7 @@
> #define __POWERPC_KVM_PARA_H__
> 
> #include <uapi/asm/kvm_para.h>
> +#include <uapi/linux/kvm_para.h>

Shouldn't linux/kvm_para.h include asm/kvm_para.h usually?


Alex

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/powerpc/include/asm/kvm_para.h b/arch/powerpc/include/asm/kvm_para.h
index 2b11965..8bdfd22 100644
--- a/arch/powerpc/include/asm/kvm_para.h
+++ b/arch/powerpc/include/asm/kvm_para.h
@@ -20,6 +20,7 @@ 
 #define __POWERPC_KVM_PARA_H__
 
 #include <uapi/asm/kvm_para.h>
+#include <uapi/linux/kvm_para.h>
 
 #ifdef CONFIG_KVM_GUEST