summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2022-09-16 11:08:20 +0200
committerVasily Gorbik <gor@linux.ibm.com>2022-09-16 18:36:25 +0200
commit9267bdd8194f8166ddfddd3d5577b6ba1632a165 (patch)
tree23ce787f2e1319039aca0563e8ced80cd0a716e0
parentfba07cd4dd8fb4833015801a83f945b2d65a5c4b (diff)
downloadlinux-9267bdd8194f8166ddfddd3d5577b6ba1632a165.tar.bz2
s390/mm: fix no previous prototype warnings in maccess.c
Fix -Wmissing-prototypes warnings caused by missing maccess.h include. Reported-by: kernel test robot <lkp@intel.com> Fixes: 2f0e8aae26a2 ("s390/mm: rework memcpy_real() to avoid DAT-off mode") Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
-rw-r--r--arch/s390/mm/maccess.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/mm/maccess.c b/arch/s390/mm/maccess.c
index bd1bcbb02938..1571cdcb0c50 100644
--- a/arch/s390/mm/maccess.c
+++ b/arch/s390/mm/maccess.c
@@ -18,6 +18,7 @@
#include <asm/io.h>
#include <asm/abs_lowcore.h>
#include <asm/stacktrace.h>
+#include <asm/maccess.h>
unsigned long __bootdata_preserved(__memcpy_real_area);
static __ro_after_init pte_t *memcpy_real_ptep;