Re: [RFC/PATCH] Add a device_initcall to machdep_calls

2007-11-30 Thread Benjamin Herrenschmidt
> Is that level of sophistication really warranted for this scenario? It's not -that- sophisticated and I want to have access to all init levels, not just device and I don't like adding ad-hoc ppc_md. calls that much. Ben. ___ Linuxppc-dev mailing lis

Re: [RFC/PATCH] Add a device_initcall to machdep_calls

2007-11-30 Thread Grant Likely
On 11/30/07, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-11-30 at 15:51 -0700, Grant Likely wrote: > > > > Add a device_initcall hook to machdep_calls so that platform code > > doesn't > > need to register device_initcalls that must first check what platform > > it is running

Re: [RFC/PATCH] Add a device_initcall to machdep_calls

2007-11-30 Thread Benjamin Herrenschmidt
On Fri, 2007-11-30 at 15:51 -0700, Grant Likely wrote: > > Add a device_initcall hook to machdep_calls so that platform code > doesn't > need to register device_initcalls that must first check what platform > it is running on. > > This should (slightly) speed boot time on kernels that support a