---On Mon, Jun 26, 2000 at 09:22:44AM -0500, Cory Papenfuss wrote:
>   I've (sorta) figured it out.  The int must first be cast as a long long
> or the multiplication will overflow, but when I tried putting a division in a
> rt-space function to return miliseconds since boot, I get 
> 
> ./init.o: unresolved symbol __divdi3
> 
> when I try to load up my init.o module.  Is the access of the longlong
> division
> forbidden within rt-space?

    I ran into this problem a while back __divdi3 is in a library not
linked to the kernel. My solution for dividing a 54bit by a 32bit was to copy
/usr/src/linux/arch/i386/math-emu/div_small.S to my local dir and include
it in my module.

--re: Re: [rtl] hrtime_t -> int

                                 Chris
#include <stddisclaimer.h>

Christopher R. Hawks
Software Engineer
Syscon Plantstar a
Division of Syscon International

[EMAIL PROTECTED]

Computers are like air-conditioners:
    They stop working properly when you open windows.

Linux: The OS for people with an IQ over 98





-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to