resend of diff.
Resending because I was told that the format I used sucked rocks. :) Sorry bout that. ;-P
--------------------------
--- xeno-unstable/xenolinux-sparse/arch/xen/kernel/time.c 2004-04-07
21:56:06.000000000 -0500
+++ xen-1.3-20040408/xenolinux-sparse/arch/xen/kernel/time.c 2004-04-08
21:46:41.000000000 -0500
@@ -432,13 +432,16 @@
* backwards of more than 500ms.
*/
sec_diff = xtime.tv_sec - shadow_tv.tv_sec;
+
if ( unlikely(abs(sec_diff) > 1) ||
unlikely(((sec_diff * 1000000) +
xtime.tv_usec - shadow_tv.tv_usec) > 500000) )
{
+#ifdef CONFIG_XEN_PRIVILEGED_GUEST
last_update_to_rtc = last_update_to_xen = 0;
+#endif
last_seen_tv.tv_sec = 0;- }
+ }
/* Update our unsynchronised xtime appropriately. */
xtime = shadow_tv;---------------------------------------------------------------
Signature · 18 lines
Brian Wolfe | Phone 1-(214)-764-1204 President, | Email [email protected] TerraBox.com Inc. | pub 1024D/73C5A2DF 2003-03-18 Brian Wolfe <[email protected]> Key fingerprint = 050E 5E3C CF65 4C1E A183 F48F E3E3 5B22 73C5 A2DF sub 1024g/BB87A3DD 2003-03-18 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click