Message ID | 1429739711-9415-7-git-send-email-mcgrof@do-not-panic.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 59bc249..cf6c2f1 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -280,8 +280,7 @@ static bool wq_disable_numa; 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_config_on_off(power_efficient, wq_power_efficient, 0444, CONFIG_WQ_POWER_EFFICIENT_DEFAULT); static bool wq_numa_enabled; /* unbound NUMA affinity enabled */