mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
net/xen-netback: Convert timers to use timer_setup()
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Wei Liu <wei.liu2@citrix.com> Cc: Paul Durrant <paul.durrant@citrix.com> Cc: xen-devel@lists.xenproject.org Cc: netdev@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ba42179350
commit
cac6a8f901
3 changed files with 4 additions and 6 deletions
|
@ -307,7 +307,7 @@ static inline struct xenbus_device *xenvif_to_xenbus_device(struct xenvif *vif)
|
|||
return to_xenbus_device(vif->dev->dev.parent);
|
||||
}
|
||||
|
||||
void xenvif_tx_credit_callback(unsigned long data);
|
||||
void xenvif_tx_credit_callback(struct timer_list *t);
|
||||
|
||||
struct xenvif *xenvif_alloc(struct device *parent,
|
||||
domid_t domid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue