Re: [PATCH] mm: provide reference to READ_IMPLIES_EXEC
From: Konstantin Khlebnikov <hidden>
Date: 2016-01-28 09:33:43
Also in:
lkml
On Thu, Jan 28, 2016 at 12:11 PM, Sudip Mukherjee [off-list ref] wrote:
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.
I have different patch which should fix this too. It removes usage of VM_STACK_DEFAULT_FLAGS from that file.
quoted hunk ↗ jump to hunk
Fixes: 07dff8ae2bc5 ("mm: warn about VmData over RLIMIT_DATA") Cc: Konstantin Khlebnikov <redacted> Signed-off-by: Sudip Mukherjee <redacted> --- 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
-- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>