Re: [PATCH] [POWERPC] Add machine initcall macros

2007-11-30 Thread Benjamin Herrenschmidt
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

Re: [PATCH] [POWERPC] Add machine initcall macros

2007-11-30 Thread Michael Ellerman
On Fri, 2007-11-30 at 17:24 -0700, Grant Likely wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > The machine initcall macros allow initcalls to be registered which > test machine_is() before executing the initcall. > > Signed-off-by: Grant Likely <[EMAIL PROTECTED]> > --- > > Ben, is this the

Re: [PATCH] [POWERPC] Add machine initcall macros

2007-11-30 Thread Benjamin Herrenschmidt
On Fri, 2007-11-30 at 17:24 -0700, Grant Likely wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > The machine initcall macros allow initcalls to be registered which > test machine_is() before executing the initcall. > > Signed-off-by: Grant Likely <[EMAIL PROTECTED]> > --- > > Ben, is this th

[PATCH] [POWERPC] Add machine initcall macros

2007-11-30 Thread Grant Likely
From: Grant Likely <[EMAIL PROTECTED]> The machine initcall macros allow initcalls to be registered which test machine_is() before executing the initcall. Signed-off-by: Grant Likely <[EMAIL PROTECTED]> --- Ben, is this the sort of thing you're considering? g. include/asm-powerpc/machdep.h |