]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
s390: add missing include statements
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 7 May 2016 10:15:34 +0000 (12:15 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 10 May 2016 11:24:52 +0000 (13:24 +0200)
arch_mmap_rnd, cpu_have_feature, and arch_randomize_brk are all
defined as globally visible variables.
However the files they are defined in do not include the header files
with the declaration. To avoid a possible mismatch add the missing
include statements so we have proper type checking in place.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/process.c
arch/s390/kernel/processor.c
arch/s390/mm/mmap.c

index adb346b70166a64b9a1a36b9f41fdc0e3fd60705..481d7a83efc6da09333716ebfe589bd77b7e4b5d 100644 (file)
@@ -7,6 +7,7 @@
  *              Denis Joseph Barrow,
  */
 
+#include <linux/elf-randomize.h>
 #include <linux/compiler.h>
 #include <linux/cpu.h>
 #include <linux/sched.h>
index 90a418d5c2809f762464da10a1a8cf41d70d21bb..de7451065c34228b0485d615ad8577cb9e94d660 100644 (file)
@@ -6,6 +6,7 @@
 #define KMSG_COMPONENT "cpu"
 #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
 
+#include <linux/cpufeature.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/seq_file.h>
index 45c4daa49930f9a2bdfaf1d07a6ab5e002aa99c2..f4e5286a1e3e8e3af3b73b8d59862ed8ba1f96c3 100644 (file)
@@ -22,6 +22,7 @@
  * Started by Ingo Molnar <mingo@elte.hu>
  */
 
+#include <linux/elf-randomize.h>
 #include <linux/personality.h>
 #include <linux/mm.h>
 #include <linux/mman.h>