summaryrefslogtreecommitdiffstats
path: root/arch/s390/boot
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2018-10-09 12:23:43 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-10-10 07:37:22 +0200
commitc72251ad879056d096d39db21c08cb52e481eb2d (patch)
tree2c5288bbf8b2750cca2e396f1f932c16f669ac76 /arch/s390/boot
parente494990e7b74c55862b8b19c28ce38628a282cef (diff)
downloadlinux-stable-c72251ad879056d096d39db21c08cb52e481eb2d.tar.gz
linux-stable-c72251ad879056d096d39db21c08cb52e481eb2d.tar.bz2
linux-stable-c72251ad879056d096d39db21c08cb52e481eb2d.zip
s390/mem_detect: add missing include
Fix this allnoconfig build breakage: arch/s390/boot/mem_detect.c: In function 'tprot': arch/s390/boot/mem_detect.c:122:12: error: 'EFAULT' undeclared (first use in this function) Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/boot')
-rw-r--r--arch/s390/boot/mem_detect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/boot/mem_detect.c b/arch/s390/boot/mem_detect.c
index 65ae3c926042..4cb771ba13fa 100644
--- a/arch/s390/boot/mem_detect.c
+++ b/arch/s390/boot/mem_detect.c
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
+#include <linux/errno.h>
#include <linux/init.h>
#include <asm/sclp.h>
#include <asm/sections.h>