[PATCH] mm: provide reference to READ_IMPLIES_EXEC

From: Sudip Mukherjee
Date: Thu Jan 28 2016 - 04:11:32 EST


blackfin defconfig fails with the error:
mm/internal.h: In function 'is_stack_mapping':
arch/blackfin/include/asm/page.h:15:27: error: 'READ_IMPLIES_EXEC' undeclared

Commit 07dff8ae2bc5 has added is_stack_mapping in mm/internal.h but it
also needs personality.h.

Fixes: 07dff8ae2bc5 ("mm: warn about VmData over RLIMIT_DATA")
Cc: Konstantin Khlebnikov <koct9i@xxxxxxxxx>
Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>
---

build log at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/105335848

mm/internal.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/mm/internal.h b/mm/internal.h
index cac6eb4..59c496f 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -14,6 +14,7 @@
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
+#include <linux/personality.h>
#include <linux/tracepoint-defs.h>

/*
--
1.9.1