The patch titled include/asm-generic/vmlinux.lds.h: fix __modver section warnings has been added to the -mm tree. Its filename is include-asm-generic-vmlinuxldsh-fix-__modver-section-warnings.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: include/asm-generic/vmlinux.lds.h: fix __modver section warnings From: Dmitry Torokhov <dtor@xxxxxxxxxx> current mainline, x86_64 allnoconfig: ld: .tmp_vmlinux1: warning: allocated section `__modver' not in segment ld: .tmp_vmlinux2: warning: allocated section `__modver' not in segment ld: vmlinux: warning: allocated section `__modver' not in segment Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/asm-generic/vmlinux.lds.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff -puN include/asm-generic/vmlinux.lds.h~include-asm-generic-vmlinuxldsh-fix-__modver-section-warnings include/asm-generic/vmlinux.lds.h --- a/include/asm-generic/vmlinux.lds.h~include-asm-generic-vmlinuxldsh-fix-__modver-section-warnings +++ a/include/asm-generic/vmlinux.lds.h @@ -359,18 +359,18 @@ MEM_KEEP(exit.rodata) \ } \ \ - /* Built-in module parameters. */ \ - __param : AT(ADDR(__param) - LOAD_OFFSET) { \ - VMLINUX_SYMBOL(__start___param) = .; \ - *(__param) \ - VMLINUX_SYMBOL(__stop___param) = .; \ - } \ - \ /* Built-in module versions. */ \ __modver : AT(ADDR(__modver) - LOAD_OFFSET) { \ VMLINUX_SYMBOL(__start___modver) = .; \ *(__modver) \ VMLINUX_SYMBOL(__stop___modver) = .; \ + } \ + \ + /* Built-in module parameters. */ \ + __param : AT(ADDR(__param) - LOAD_OFFSET) { \ + VMLINUX_SYMBOL(__start___param) = .; \ + *(__param) \ + VMLINUX_SYMBOL(__stop___param) = .; \ . = ALIGN((align)); \ VMLINUX_SYMBOL(__end_rodata) = .; \ } \ _ Patches currently in -mm which might be from dtor@xxxxxxxxxx are include-asm-generic-vmlinuxldsh-fix-__modver-section-warnings.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