Message ID | 1466175913-19067-6-git-send-email-ben.dooks@codethink.co.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/mm/mmap.c b/arch/arm/mm/mmap.c index 66353ca..ac8de3a 100644 --- a/arch/arm/mm/mmap.c +++ b/arch/arm/mm/mmap.c @@ -9,6 +9,7 @@ #include <linux/io.h> #include <linux/personality.h> #include <linux/random.h> +#include <linux/elf-randomize.h> #include <asm/cachetype.h> #define COLOUR_ALIGN(addr,pgoff) \
The declaration of arch_mmap_rnd() is missing so fix it by including <linux/elf-randomize.h>. Fixes: /arch/arm/mm/mmap.c:172:15: warning: symbol 'arch_mmap_rnd' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> --- Cc: linux-arm-kernel@lists.infradead.org Cc: Russell King <linux@armlinux.org.uk> --- arch/arm/mm/mmap.c | 1 + 1 file changed, 1 insertion(+)