Skip to content

Commit 9267bdd

Browse files
Alexander GordeevVasily Gorbik
authored andcommitted
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 <[email protected]> Fixes: 2f0e8aa ("s390/mm: rework memcpy_real() to avoid DAT-off mode") Signed-off-by: Alexander Gordeev <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
1 parent fba07cd commit 9267bdd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/s390/mm/maccess.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include <asm/io.h>
1919
#include <asm/abs_lowcore.h>
2020
#include <asm/stacktrace.h>
21+
#include <asm/maccess.h>
2122

2223
unsigned long __bootdata_preserved(__memcpy_real_area);
2324
static __ro_after_init pte_t *memcpy_real_ptep;

0 commit comments

Comments
 (0)