On Thu, Feb 5, 2009 at 9:58 AM, Sukanto Ghosh
<[email protected]> wrote:
> Hi,
>
> In a kernel module I need to do an division of an unsigned int by a
> u64 value,

Have a look at the file arch/x86/include/asm/div64.h. That might help

Thanks -
Manish

>but I am getting a linker error: undefined reference to
> __udivdi3.
>
> My system has the following
> OS: Ubuntu 8.04
> GCC version:  4.2.4 (Ubuntu 4.2.4-1ubuntu3)
> Processor: Intel Core 2 Duo
>
>
>
> --
> Regards,
> Sukanto Ghosh
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to [email protected]
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to