|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Avoid using unexported add_timer_on() function in netbac
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 8ac43508b33bb50a96dd7b99c227cf36c8066f9d
# Parent c369d960f96ba4fd7c9c6920cfa60c46a764323c
Avoid using unexported add_timer_on() function in netback driver.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
diff -r c369d960f96b -r 8ac43508b33b
linux-2.6-xen-sparse/drivers/xen/netback/netback.c
--- a/linux-2.6-xen-sparse/drivers/xen/netback/netback.c Tue Feb 28
16:45:20 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/netback/netback.c Tue Feb 28
17:15:18 2006
@@ -505,14 +505,12 @@
/* Still too big to send right now? Set a callback. */
if (txreq.size > netif->remaining_credit) {
netif->remaining_credit = 0;
- netif->credit_timeout.expires =
- next_credit;
netif->credit_timeout.data =
(unsigned long)netif;
netif->credit_timeout.function =
tx_credit_callback;
- add_timer_on(&netif->credit_timeout,
- smp_processor_id());
+ __mod_timer(&netif->credit_timeout,
+ next_credit);
break;
}
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Avoid using unexported add_timer_on() function in netback driver.,
Xen patchbot -unstable <=
|
|
|
|
|