s390/mm: fix no previous prototype warnings in maccess.c
authorAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 16 Sep 2022 09:08:20 +0000 (11:08 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Fri, 16 Sep 2022 16:36:25 +0000 (18:36 +0200)
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>
arch/s390/mm/maccess.c

index bd1bcbb..1571cdc 100644 (file)
@@ -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;