aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatthewdalex <matthewalex@linux.com>2017-07-06 21:37:10 -0400
committerSemavi Ulusoy <doc.divxm@gmail.com>2023-05-25 01:48:11 +0300
commitb870015c90676065016aaa65244a159f8e8c35dc (patch)
tree050ab647cc3d1ccd09fd59d2b1dd76dda2994044
parent0780d64bdd31f20a480c86cc8987ecf2c954626c (diff)
workqueue: change permissions to allow root control of wq_power_efficient toggle
Signed-off-by: engstk <eng.stk@sapo.pt> Signed-off-by: AnierinB <anierin@evolution-x.org>
-rw-r--r--kernel/workqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 4780010ba92c..4283de99e6b5 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -293,7 +293,7 @@ module_param_named(disable_numa, wq_disable_numa, bool, 0444);
/* see the comment above the definition of WQ_POWER_EFFICIENT */
static bool wq_power_efficient = IS_ENABLED(CONFIG_WQ_POWER_EFFICIENT_DEFAULT);
-module_param_named(power_efficient, wq_power_efficient, bool, 0444);
+module_param_named(power_efficient, wq_power_efficient, bool, 0644);
static bool wq_online; /* can kworkers be created yet? */