On Thursday 14 February 2013, Russell King - ARM Linux wrote: > In the general case, that remains true, but it's still not true for > console drivers. > > The console should be initialised before it is attempted to be opened > before passing control to userspace, which happens before the .init > section is freed.
Yes, I forgot about that. This is indeed an additional requirement besides what I listed. The late_initcall in which Grant was adding the serialization however is executed just before the /dev/console gets opened, which seems like an appropriate place. What might get into the way is that other late_initcalls get executed after this one and are required for the console. In that case, we would have to move the deferred_probe_initcall from a late_initcall to the end of do_basic_setup, after all the other initcalls. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/