Skip to content

Commit 60abfd0

Browse files
Benjamin Thielsuryasaimadhu
authored andcommitted
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 <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 968e614 commit 60abfd0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/x86/mm/mmap.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
#include <linux/sched/signal.h>
1919
#include <linux/sched/mm.h>
2020
#include <linux/compat.h>
21+
#include <linux/elf-randomize.h>
2122
#include <asm/elf.h>
23+
#include <asm/io.h>
2224

2325
#include "physaddr.h"
2426

0 commit comments

Comments
 (0)