From 60abfd08e88b2b41366dcdb1e586614770c791fa Mon Sep 17 00:00:00 2001 From: Benjamin Thiel Date: Thu, 2 Apr 2020 14:43:07 +0200 Subject: x86/mm/mmap: Fix -Wmissing-prototypes warnings Add includes for the prototypes of valid_phys_addr_range(), arch_mmap_rnd() and valid_mmap_phys_addr_range() in order to fix -Wmissing-prototypes warnings. Signed-off-by: Benjamin Thiel Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/20200402124307.10857-1-b.thiel@posteo.de --- arch/x86/mm/mmap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/mm/mmap.c b/arch/x86/mm/mmap.c index cb91eccc4960..c90c20904a60 100644 --- a/arch/x86/mm/mmap.c +++ b/arch/x86/mm/mmap.c @@ -18,7 +18,9 @@ #include #include #include +#include #include +#include #include "physaddr.h" -- cgit v1.2.3-59-g8ed1b