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
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to