Olof Johansson wrote: > commit 6a30bd1e2160e921a8fb051b472dfaf068f4f386 > Author: Olof Johansson <[EMAIL PROTECTED]> > Date: Tue Sep 4 21:53:30 2007 -0500 > > [POWERPC] pasemi: Move pasemi_idle_init() to late_initcall() > > Move pasemi_idle_init() to be a late_initcall instead of being called from > setup_arch(). This way the cpufreq driver has a chance to initialize and > save away the boot time astate before we go to idle for the first time.
The patch looks fine, but while I was reviewing this I noticed that the pasemi cpufreq code is bool in Kconfig, but it has stuff like module_init() etc in it. It's not hurting anything, but it did temporarily make me wonder "what happens if the cpufreq driver is modular"? _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev