Commit 60abfd08 authored by Benjamin Thiel's avatar Benjamin Thiel Committed by Borislav Petkov

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: default avatarBenjamin Thiel <b.thiel@posteo.de>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200402124307.10857-1-b.thiel@posteo.de
parent 968e6147
...@@ -18,7 +18,9 @@ ...@@ -18,7 +18,9 @@
#include <linux/sched/signal.h> #include <linux/sched/signal.h>
#include <linux/sched/mm.h> #include <linux/sched/mm.h>
#include <linux/compat.h> #include <linux/compat.h>
#include <linux/elf-randomize.h>
#include <asm/elf.h> #include <asm/elf.h>
#include <asm/io.h>
#include "physaddr.h" #include "physaddr.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment