aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/workqueue.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 04ef830690ec..d30a502e8c6d 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -2860,9 +2860,7 @@ static int alloc_cwqs(struct workqueue_struct *wq)
2860 } 2860 }
2861 } 2861 }
2862 2862
2863 /* just in case, make sure it's actually aligned 2863 /* just in case, make sure it's actually aligned */
2864 * - this is affected by PERCPU() alignment in vmlinux.lds.S
2865 */
2866 BUG_ON(!IS_ALIGNED(wq->cpu_wq.v, align)); 2864 BUG_ON(!IS_ALIGNED(wq->cpu_wq.v, align));
2867 return wq->cpu_wq.v ? 0 : -ENOMEM; 2865 return wq->cpu_wq.v ? 0 : -ENOMEM;
2868} 2866}