The patch titled Subject: arch/x86/mm/mmap.c: apply the section attribute to the variable, not its type has been removed from the -mm tree. Its filename was mm-apply-the-section-attribute-to-the-variable-not-its-type.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Jan-Simon Möller <dl9pf@xxxxxx> Subject: arch/x86/mm/mmap.c: apply the section attribute to the variable, not its type This fixes a compilation error in clang in that a linker section attribute can't be added to a type. arch/x86/mm/mmap.c:34:8: error: '__section__' attribute only applies to functions and global variables struct __read_mostly va_alignment va_align = { ^ arch/x86/include/asm/cache.h:10:38: note: expanded from macro '__read_mostly' #define __read_mostly __attribute__((__section__(".data..read_mostly"))) ^ 1 error generated. By moving the section attribute to the variable declaration, the desired effect is acheived. Signed-off-by: Jan-Simon Möller <dl9pf@xxxxxx> Signed-off-by: Behan Webster <behanw@xxxxxxxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/mm/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/x86/mm/mmap.c~mm-apply-the-section-attribute-to-the-variable-not-its-type arch/x86/mm/mmap.c --- a/arch/x86/mm/mmap.c~mm-apply-the-section-attribute-to-the-variable-not-its-type +++ a/arch/x86/mm/mmap.c @@ -31,7 +31,7 @@ #include <linux/sched.h> #include <asm/elf.h> -struct __read_mostly va_alignment va_align = { +struct va_alignment __read_mostly va_align = { .flags = -1, }; _ Patches currently in -mm which might be from dl9pf@xxxxxx are linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html