aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/mm/mmap.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-05-07 12:15:34 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-05-10 13:24:52 +0200
commitca21872e43e82c2a5c2e056ee4aea40a921720b1 (patch)
tree22dfacdeff442dab3438ccc4b89ff6c2012019d3 /arch/s390/mm/mmap.c
parents390: add missing declarations (diff)
downloadlinux-dev-ca21872e43e82c2a5c2e056ee4aea40a921720b1.tar.xz
linux-dev-ca21872e43e82c2a5c2e056ee4aea40a921720b1.zip
s390: add missing include statements
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>
Diffstat (limited to 'arch/s390/mm/mmap.c')
-rw-r--r--arch/s390/mm/mmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/mm/mmap.c b/arch/s390/mm/mmap.c
index 45c4daa49930..f4e5286a1e3e 100644
--- a/arch/s390/mm/mmap.c
+++ b/arch/s390/mm/mmap.c
@@ -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>