Re: function calls from identify_cpu()

2008-05-02 Thread Kevin Diggs
Benjamin Herrenschmidt wrote: On Fri, 2008-05-02 at 13:42 -0700, Kevin Diggs wrote: I added: int __init iDoNothingUseful(struct cpu_spec *s,struct cpu_spec *t) { return s-t; } right before the definition of identify_cpu() in cputable.c and: // (void) (*PTRRELOC(&

Re: function calls from identify_cpu()

2008-05-02 Thread Benjamin Herrenschmidt
On Fri, 2008-05-02 at 13:42 -0700, Kevin Diggs wrote: > I added: > > int __init iDoNothingUseful(struct cpu_spec *s,struct cpu_spec *t) > { > return s-t; > } > > right before the definition of identify_cpu() in cputable.c and: > > // (void) (*PTRRELOC(&iDoNothingUs