Integer Division In Module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Why has compiler generated such a code ? what can I do to fix it ?

_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux