Dear all,

I have a problem that :

the function is :

int func()
{
        unsigned char tmp[10];
        unsigned char * p;

        p = __pa(tmp);
        ...
        pI2cRxBD -> bd_addr = p;
        ...
        ...
}
when run this module( lsmod mymodule.o ), kernel is always dead. Are there any 
errors of this function ?

Any help is appreciated!

John Zhou

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/



Reply via email to