diff options
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 2 | ||||
-rw-r--r-- | include/linux/workqueue.h | 6 | ||||
-rw-r--r-- | net/l2tp/l2tp_core.c | 2 |
3 files changed, 2 insertions, 8 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 55cd110a49c4..c204b7d1532c 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c | |||
@@ -2607,7 +2607,7 @@ int dw_mci_probe(struct dw_mci *host) | |||
2607 | 2607 | ||
2608 | tasklet_init(&host->tasklet, dw_mci_tasklet_func, (unsigned long)host); | 2608 | tasklet_init(&host->tasklet, dw_mci_tasklet_func, (unsigned long)host); |
2609 | host->card_workqueue = alloc_workqueue("dw-mci-card", | 2609 | host->card_workqueue = alloc_workqueue("dw-mci-card", |
2610 | WQ_MEM_RECLAIM | WQ_NON_REENTRANT, 1); | 2610 | WQ_MEM_RECLAIM, 1); |
2611 | if (!host->card_workqueue) { | 2611 | if (!host->card_workqueue) { |
2612 | ret = -ENOMEM; | 2612 | ret = -ENOMEM; |
2613 | goto err_dmaunmap; | 2613 | goto err_dmaunmap; |
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 0523eab05f63..532994651684 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
@@ -284,12 +284,6 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; } | |||
284 | * Documentation/workqueue.txt. | 284 | * Documentation/workqueue.txt. |
285 | */ | 285 | */ |
286 | enum { | 286 | enum { |
287 | /* | ||
288 | * All wqs are now non-reentrant making the following flag | ||
289 | * meaningless. Will be removed. | ||
290 | */ | ||
291 | WQ_NON_REENTRANT = 1 << 0, /* DEPRECATED */ | ||
292 | |||
293 | WQ_UNBOUND = 1 << 1, /* not bound to any cpu */ | 287 | WQ_UNBOUND = 1 << 1, /* not bound to any cpu */ |
294 | WQ_FREEZABLE = 1 << 2, /* freeze during suspend */ | 288 | WQ_FREEZABLE = 1 << 2, /* freeze during suspend */ |
295 | WQ_MEM_RECLAIM = 1 << 3, /* may be used for memory reclaim */ | 289 | WQ_MEM_RECLAIM = 1 << 3, /* may be used for memory reclaim */ |
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index 735d0f60c83a..fcbd63ea4909 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c | |||
@@ -2016,7 +2016,7 @@ static int __init l2tp_init(void) | |||
2016 | if (rc) | 2016 | if (rc) |
2017 | goto out; | 2017 | goto out; |
2018 | 2018 | ||
2019 | l2tp_wq = alloc_workqueue("l2tp", WQ_NON_REENTRANT | WQ_UNBOUND, 0); | 2019 | l2tp_wq = alloc_workqueue("l2tp", WQ_UNBOUND, 0); |
2020 | if (!l2tp_wq) { | 2020 | if (!l2tp_wq) { |
2021 | pr_err("alloc_workqueue failed\n"); | 2021 | pr_err("alloc_workqueue failed\n"); |
2022 | rc = -ENOMEM; | 2022 | rc = -ENOMEM; |