Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 659488 | Differences between
and this patch

Collapse All | Expand All

(-)dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp_usb.c (-1 / +1 lines)
Lines 882-888 Link Here
882
		usec = 0; /* System clock jumped */
882
		usec = 0; /* System clock jumped */
883
	if (usec > xusb->max_tx_delay)
883
	if (usec > xusb->max_tx_delay)
884
		xusb->max_tx_delay = usec;
884
		xusb->max_tx_delay = usec;
885
	i = usec / USEC_BUCKET;
885
	i = div_s64(usec, USEC_BUCKET);
886
	if (i >= NUM_BUCKETS)
886
	if (i >= NUM_BUCKETS)
887
		i = NUM_BUCKETS - 1;
887
		i = NUM_BUCKETS - 1;
888
	xusb->usb_tx_delay[i]++;
888
	xusb->usb_tx_delay[i]++;

Return to bug 659488