mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-25 02:39:54 +07:00
iwlwifi: use singlethread workqueue
Use one workqueue instead of one per CPU. Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> cc: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
daf518dee6
commit
d21050c7be
@ -3370,7 +3370,7 @@ static DEVICE_ATTR(statistics, S_IRUGO, show_statistics, NULL);
|
|||||||
|
|
||||||
static void iwl_setup_deferred_work(struct iwl_priv *priv)
|
static void iwl_setup_deferred_work(struct iwl_priv *priv)
|
||||||
{
|
{
|
||||||
priv->workqueue = create_workqueue(DRV_NAME);
|
priv->workqueue = create_singlethread_workqueue(DRV_NAME);
|
||||||
|
|
||||||
init_waitqueue_head(&priv->wait_command_queue);
|
init_waitqueue_head(&priv->wait_command_queue);
|
||||||
|
|
||||||
|
@ -5201,7 +5201,7 @@ static DEVICE_ATTR(dump_events, S_IWUSR, NULL, dump_event_log);
|
|||||||
|
|
||||||
static void iwl3945_setup_deferred_work(struct iwl_priv *priv)
|
static void iwl3945_setup_deferred_work(struct iwl_priv *priv)
|
||||||
{
|
{
|
||||||
priv->workqueue = create_workqueue(DRV_NAME);
|
priv->workqueue = create_singlethread_workqueue(DRV_NAME);
|
||||||
|
|
||||||
init_waitqueue_head(&priv->wait_command_queue);
|
init_waitqueue_head(&priv->wait_command_queue);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user