The patch titled Subject: mm/compaction: don't use modular references for non modular code has been added to the -mm tree. Its filename is mm-compaction-introduce-kcompactd-fix-2.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-compaction-introduce-kcompactd-fix-2.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-compaction-introduce-kcompactd-fix-2.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 *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> Subject: mm/compaction: don't use modular references for non modular code replace module_init with subsys_initcall ; which will be two levels earlier, but mm smells like a subsystem to me. Compile tested only. Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/compaction.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN mm/compaction.c~mm-compaction-introduce-kcompactd-fix-2 mm/compaction.c --- a/mm/compaction.c~mm-compaction-introduce-kcompactd-fix-2 +++ a/mm/compaction.c @@ -20,7 +20,6 @@ #include <linux/kasan.h> #include <linux/kthread.h> #include <linux/freezer.h> -#include <linux/module.h> #include "internal.h" #ifdef CONFIG_COMPACTION @@ -1954,7 +1953,6 @@ static int __init kcompactd_init(void) hotcpu_notifier(cpu_callback, 0); return 0; } - -module_init(kcompactd_init) +subsys_initcall(kcompactd_init) #endif /* CONFIG_COMPACTION */ _ Patches currently in -mm which might be from paul.gortmaker@xxxxxxxxxxxxx are mm-compaction-introduce-kcompactd-fix-2.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