On 7/21/06, Talib Alim <talibalm@xxxxxxxxxxx> wrote:
My driver code runs on 64 MIPS, where in one segment I divide unsigned 64 bit variable by unsigned 32 bit variable. On 32 Intel (running on FC4), same code compiles, but module does not load, complaining about missing symbol, exact error is: my_driver: Unknown symbol __udivdi3
64 bit math must be explicitly requested ... see do_div and co.
Why has compiler generated such a code ? what can I do to fix it ?
Thanks, Nish -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/