lkml.org 
[lkml]   [2019]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] arm: add missing include <linux/elf-randomize.h>
Date
Include corresponding header file <linux/elf-randomize.h> for function
arch_randomize_brk().

../arch/arm/kernel/process.c:325:15: warning: no previous prototype for ‘arch_randomize_brk’ [-Wmissing-prototypes]
unsigned long arch_randomize_brk(struct mm_struct *mm)
^~~~~~~~~~~~~~~~~~

Signed-off-by: Philippe Mazenauer <philippe.mazenauer@outlook.de>
---
arch/arm/kernel/process.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index 72cc0862a30e..73782012d403 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm/kernel/process.c
@@ -23,6 +23,7 @@
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/elfcore.h>
+#include <linux/elf-randomize.h>
#include <linux/pm.h>
#include <linux/tick.h>
#include <linux/utsname.h>
--
2.17.1
\
 
 \ /
  Last update: 2019-05-21 17:55    [W:0.057 / U:3.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site