]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
KVM: s390: fix compile with !CONFIG_COMPAT
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 25 Mar 2013 16:22:55 +0000 (17:22 +0100)
committerGleb Natapov <gleb@redhat.com>
Tue, 2 Apr 2013 13:14:45 +0000 (16:14 +0300)
commitb13b5dc7c96d40ebdadbdb752a92ecde5a9f2914
tree65ee3a5cb1bc3e8134af5d73ce922c52703d471f
parentc51f068c23c76a86d427260b8219430ee6f99516
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>
arch/s390/kvm/priv.c