summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/ipl_vmparm.c
diff options
context:
space:
mode:
authorAlexander Egorenkov <egorenar@linux.ibm.com>2021-06-15 09:20:26 +0200
committerHeiko Carstens <hca@linux.ibm.com>2021-07-27 09:39:13 +0200
commit6040b3f45f394ef3a9fabd68282de92cc271328e (patch)
tree5b1c657e70ea6e2d96b0b3135b5dfe42d54ccc66 /arch/s390/kernel/ipl_vmparm.c
parent256d78d08177d72ae27621378699c9b35231d524 (diff)
downloadlinux-6040b3f45f394ef3a9fabd68282de92cc271328e.tar.gz
s390/cio: remove unused include linux/spinlock.h from cio.h
* The linux/spinlock.h header was included indirectly by the decompressor and brought unnecessary build dependencies. * Use proper includes in files which either directly or indirectly included cio.h and were hidden until now by the included linux/spinlock.h, e.g. linux/string.h for memcpy() or asm/page.h for PAGE_SIZE. Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Acked-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/ipl_vmparm.c')
-rw-r--r--arch/s390/kernel/ipl_vmparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/ipl_vmparm.c b/arch/s390/kernel/ipl_vmparm.c
index af43535a976d..b5245fadcfb0 100644
--- a/arch/s390/kernel/ipl_vmparm.c
+++ b/arch/s390/kernel/ipl_vmparm.c
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
+#include <linux/minmax.h>
+#include <linux/string.h>
#include <asm/ebcdic.h>
#include <asm/ipl.h>