mpt3sas: Use alloc_ordered_workqueue() API instead of create_singlethread_workqueue...
[deliverable/linux.git] / drivers / scsi / mpt3sas / mpt3sas_scsih.c
index 9dbc71ffb9363ea21a0e0330c62551f11ff4349f..6e0a7fdfd6264c8642d5e5bcd91527fbae697f65 100644 (file)
@@ -8026,8 +8026,8 @@ _scsih_probe(struct pci_dev *pdev, const struct pci_device_id *id)
        /* event thread */
        snprintf(ioc->firmware_event_name, sizeof(ioc->firmware_event_name),
            "fw_event%d", ioc->id);
-       ioc->firmware_event_thread = create_singlethread_workqueue(
-           ioc->firmware_event_name);
+       ioc->firmware_event_thread = alloc_ordered_workqueue(
+           ioc->firmware_event_name, WQ_MEM_RECLAIM);
        if (!ioc->firmware_event_thread) {
                pr_err(MPT3SAS_FMT "failure at %s:%d/%s()!\n",
                    ioc->name, __FILE__, __LINE__, __func__);
This page took 0.045213 seconds and 5 git commands to generate.