function calls from identify_cpu()

Kevin Diggs kevdig at hypersurf.com
Sat May 3 06:42:28 EST 2008


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(&iDoNothingUseful))(s,t);
                         (void) iDoNothingUseful(s,t);

right before the return s; in the match block and it will not boot? Can 
someone please explain what might be going on?

Thanks!

kevin



More information about the Linuxppc-dev mailing list