From: Heiko Carstens Date: Mon, 25 Mar 2013 16:22:55 +0000 (+0100) Subject: KVM: s390: fix compile with !CONFIG_COMPAT X-Git-Tag: v3.12-rc1~895^2~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b13b5dc7c96d40ebdadbdb752a92ecde5a9f2914;p=kernel%2Fkernel-generic.git KVM: s390: fix compile with !CONFIG_COMPAT arch/s390/kvm/priv.c should include both linux/compat.h and asm/compat.h. Fixes this one: In file included from arch/s390/kvm/priv.c:23:0: arch/s390/include/asm/compat.h: In function ‘arch_compat_alloc_user_space’: arch/s390/include/asm/compat.h:258:2: error: implicit declaration of function ‘is_compat_task’ Signed-off-by: Heiko Carstens Signed-off-by: Cornelia Huck Signed-off-by: Gleb Natapov --- diff --git a/arch/s390/kvm/priv.c b/arch/s390/kvm/priv.c index de1b1b6..6bbd7b5 100644 --- a/arch/s390/kvm/priv.c +++ b/arch/s390/kvm/priv.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include