On Thursday 05 April 2007, Kevin Corry wrote: > For the moment, I made the change to topology_init() since it was the > simplest > fix to get things working. I have considered switching the perfmon2 > initialization to __initcall(), but there are apparently some timing issues > with ensuring that the perfmon2 core code is initialized before any of its > sub-modules. Since they could all be compiled statically in the kernel, I'm > not sure if there's a way to ensure the ordering of calls within a single > initcall level. I'll need to ask Stephane if there were any other reasons why > subsys_initcall() was used for perfmon2.
If they all come from the same directory, you can simply order them in the Makefile. If a module in arch/ needs to be initialized after one in drivers/, that's not possible though, and changing topology_init() should be the best option. Arnd <>< - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/