diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-03-25 17:22:55 +0100 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-04-02 16:14:45 +0300 |
commit | b13b5dc7c96d40ebdadbdb752a92ecde5a9f2914 (patch) | |
tree | 65ee3a5cb1bc3e8134af5d73ce922c52703d471f | |
parent | c51f068c23c76a86d427260b8219430ee6f99516 (diff) | |
download | linux-3.10-b13b5dc7c96d40ebdadbdb752a92ecde5a9f2914.tar.gz linux-3.10-b13b5dc7c96d40ebdadbdb752a92ecde5a9f2914.tar.bz2 linux-3.10-b13b5dc7c96d40ebdadbdb752a92ecde5a9f2914.zip |
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 <heiko.carstens@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
-rw-r--r-- | arch/s390/kvm/priv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/priv.c b/arch/s390/kvm/priv.c index de1b1b6128e..6bbd7b5a0bb 100644 --- a/arch/s390/kvm/priv.c +++ b/arch/s390/kvm/priv.c @@ -14,6 +14,7 @@ #include <linux/kvm.h> #include <linux/gfp.h> #include <linux/errno.h> +#include <linux/compat.h> #include <asm/asm-offsets.h> #include <asm/current.h> #include <asm/debug.h> |