Re: [PATCH 12/39] NLKD/i386 - time adjustment

From: George Anzinger
Date: Wed Nov 09 2005 - 14:10:01 EST


Jan Beulich wrote:
Since i386 time handling is not overflow-safe, these are the
adjustments needed for allowing debuggers to update time after
having halted the system for perhaps extended periods of time.

Signed-Off-By: Jan Beulich <jbeulich@xxxxxxxxxx>

(actual patch attached)

The patch includes code that seems to imply that gcc can not do mpy of (long long) variables. It does just fine with these. It also adds (long long) types just fine. The only problem it has is with div, for which we have do_div().

I really do not see the relavence of the run time library patches given the above. The adjust code does not seem to use them. Also, gcc (with the lib code) does all of this stuff. The only need for it would, possibly, be to debug the library code and even then, I suspect you really want to do that in user land and then bring the result into the kernel.

Am I missing something?


--
George Anzinger george@xxxxxxxxxx
HRT (High-res-timers): http://sourceforge.net/projects/high-res-timers/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/