Update of /cvsroot/alsa/alsa-kernel/pci In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16043
Modified Files: intel8x0.c Log Message: Andrew Morton <[EMAIL PROTECTED]> - Fix some unnecessary and odd handling of timeval usec overflow Index: intel8x0.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/intel8x0.c,v retrieving revision 1.113 retrieving revision 1.114 diff -u -r1.113 -r1.114 --- intel8x0.c 5 Feb 2004 18:48:04 -0000 1.113 +++ intel8x0.c 6 Feb 2004 09:23:38 -0000 1.114 @@ -2283,10 +2283,8 @@ t = stop_time.tv_sec - start_time.tv_sec; t *= 1000000; - if (stop_time.tv_usec < start_time.tv_usec) - t -= start_time.tv_usec - stop_time.tv_usec; - else - t += stop_time.tv_usec - start_time.tv_usec; + t += stop_time.tv_usec - start_time.tv_usec; + printk(KERN_INFO "%s: measured %lu usecs\n", __FUNCTION__, t); if (t == 0) { snd_printk(KERN_ERR "?? calculation error..\n"); return; ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog