On 7/21/06, Om. <om.turyx@xxxxxxxxx> wrote:
On 7/21/06, Nish Aravamudan <nish.aravamudan@xxxxxxxxx> wrote: > On 7/21/06, Talib Alim <talibalm@xxxxxxxxxxx> wrote: > > 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. __div64_32() from src/lib/div64.c
Which is what do_div() calls. AFAIK, do_div() is what any code in kernel should be calling, as 2.6.17, there are 15 uses of __div64_32() (including declarations) and 162 of do_div(). Thanks, Nish -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/