No more complexity to the kernel or to the build process?
If you don't care for the build process, here is an idea:
1.) The linker collects all the init-calls in a special section.
2.) We can access this section with objcopy.
Idea: extract the section from the final vmlinux file,
perform a topological sort according to some kind of
description file and put the section back into the binary.
Problem solved.
-- Regards Joerg GMD-IPSI, Dolivostr. 15, Zimmer 120, D-64293 Darmstadt +49-6151-869-786 (Phone), -818 (FAX)- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/