Commit 0bfdcc88 authored by Jeff Garzik's avatar Jeff Garzik

[netdrvr] netxen: workqueue-related build fixes

parent f1ff0fdc
...@@ -1023,8 +1023,7 @@ int netxen_process_cmd_ring(unsigned long data) ...@@ -1023,8 +1023,7 @@ int netxen_process_cmd_ring(unsigned long data)
&& netif_carrier_ok(port->netdev)) && netif_carrier_ok(port->netdev))
&& ((jiffies - port->netdev->trans_start) > && ((jiffies - port->netdev->trans_start) >
port->netdev->watchdog_timeo)) { port->netdev->watchdog_timeo)) {
SCHEDULE_WORK(port->adapter->tx_timeout_task SCHEDULE_WORK(&port->adapter->tx_timeout_task);
+ port->portnum);
} }
last_consumer = get_next_index(last_consumer, last_consumer = get_next_index(last_consumer,
......
...@@ -969,7 +969,7 @@ static void netxen_tx_timeout(struct net_device *netdev) ...@@ -969,7 +969,7 @@ static void netxen_tx_timeout(struct net_device *netdev)
{ {
struct netxen_port *port = (struct netxen_port *)netdev_priv(netdev); struct netxen_port *port = (struct netxen_port *)netdev_priv(netdev);
SCHEDULE_WORK(port->adapter->tx_timeout_task + port->portnum); SCHEDULE_WORK(&port->adapter->tx_timeout_task);
} }
static void netxen_tx_timeout_task(struct work_struct *work) static void netxen_tx_timeout_task(struct work_struct *work)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment