From ab3028b4f468269514fba890c35095da3eba17c3 Mon Sep 17 00:00:00 2001 From: matthewdalex Date: Thu, 6 Jul 2017 21:37:10 -0400 Subject: [PATCH] workqueue: change permissions to allow root control of wq_power_efficient toggle Signed-off-by: engstk --- kernel/workqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index e4fdc09b6..14407958f 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -294,7 +294,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? */