amd-xgbe: Use system workqueue for device restart
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 14 Oct 2015 17:37:32 +0000 (12:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Oct 2015 13:13:35 +0000 (06:13 -0700)
commit96aec911482246a319bf457f39fa848ce436c8fd
treee2be921eda988c4d348d3d160ab1cae25a79568a
parent74661bee1f524ca970086748291b3ca1b4c21ffe
amd-xgbe: Use system workqueue for device restart

A previous patch switched from using the system workqueue to the device
workqueue for various operations. During a device restart the device
workqueue is flushed so the restart cannot use this workqueue or else
a deadlock results.  Move the device restart back to using the system
workqueue.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c