Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b13b5dc7 authored by Heiko Carstens's avatar Heiko Carstens Committed by Gleb Natapov
Browse files

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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
parent c51f068c
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -14,6 +14,7 @@
#include <linux/kvm.h>
#include <linux/kvm.h>
#include <linux/gfp.h>
#include <linux/gfp.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/compat.h>
#include <asm/asm-offsets.h>
#include <asm/asm-offsets.h>
#include <asm/current.h>
#include <asm/current.h>
#include <asm/debug.h>
#include <asm/debug.h>