On Sat, 2007-12-01 at 18:11 +1100, Michael Ellerman wrote: > I can't think at the moment, it's Saturday, but is there some way we > could just make it a wrapper macro, so we don't need to redefine - and > keep in sync - all the different init call types? > > So the usage would look something like: > > arch_initcall(machine_initcall(foo, bar)); > > or > > machine_initcall(foo, arch_initcall(bar));
Not really. I'd like to turn that into magic ELF sections ultimately, in which case your trick above wouldn't work... besides, it's clumsy :-) Ben. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev