The patch titled init/main.c: fix section mismatch warning has been removed from the -mm tree. Its filename was init-mainc-section-mismatch-warning-fix.patch This patch was dropped because it was nacked The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: init/main.c: fix section mismatch warning From: "Rakib Mullick" <rakib.mullick@xxxxxxxxx> LD init/built-in.o WARNING: init/built-in.o(.text+0x207): Section mismatch in reference from the function init_post() to the function .init.text:prepare_namespace() The function init_post() references the function __init prepare_namespace(). This is often because init_post lacks a __init annotation or the annotation of prepare_namespace is wrong. init_post() has only one callsite and that is an __init function. So by correctly marking init_post() as __init, we no longer care whether or not it gets inlined into its __init caller. Cc: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Md.Rakib H. Mullick <rakib.mullick@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- init/main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff -puN init/main.c~init-mainc-section-mismatch-warning-fix init/main.c --- a/init/main.c~init-mainc-section-mismatch-warning-fix +++ a/init/main.c @@ -858,10 +858,7 @@ static void run_init_process(char *init_ kernel_execve(init_filename, argv_init, envp_init); } -/* This is a non __init function. Force it to be noinline otherwise gcc - * makes it inline to init() and it becomes part of init.text section - */ -static int noinline init_post(void) +static int __init init_post(void) { int retry_count = 1; free_initmem(); _ Patches currently in -mm which might be from rakib.mullick@xxxxxxxxx are init-mainc-section-mismatch-warning-fix.patch cpusetc-remove-extra-variable.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