On Tue, Oct 21, 2014 at 9:58 PM, Nicolas Pitre <nico@xxxxxxxxxxx> wrote: >> Yeah, I'm not a big fan of having to change kernel code in order to >> use the feature. I am quite intrigued by Geert Uytterhoeven's idea >> to add a 'D' option to the config system, so that the record of which >> modules to defer could be stored there. This is much better than >> hand-altering code. I don't know how difficult this would be to add >> to the kbuild system, but the mechanism for altering the macro would >> be, IMHO, very straightforward. > > Straight forward but IMHO rather suboptimal. Sure it might be good > enough if all you want is to ship products out the door, but for > mainline something better should be done. An alternative could be to add a processing step before linking, changing the section name for initcalls you want to defer, based on a small config file. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html