cpufreq: Fix rt_workqueue issues.
Everything should build now, but things are really messy after all of these
merges...
Signed-off-by: Evan McClain <aeroevan@gmail.com>
diff --git a/drivers/cpufreq/cpufreq_smartass.c b/drivers/cpufreq/cpufreq_smartass.c
index 70b9d75..c483a78 100644
--- a/drivers/cpufreq/cpufreq_smartass.c
+++ b/drivers/cpufreq/cpufreq_smartass.c
@@ -595,7 +595,8 @@
}
/* Scale up is high priority */
- up_wq = create_rt_workqueue("ksmartass_up");
+ up_wq = alloc_workqueue("ksmartass_up", WQ_HIGHPRI | WQ_CPU_INTENSIVE, 1);
+
down_wq = create_workqueue("ksmartass_down");
INIT_WORK(&freq_scale_work, cpufreq_smartass_freq_change_time_work);
diff --git a/drivers/cpufreq/cpufreq_smoothass.c b/drivers/cpufreq/cpufreq_smoothass.c
index 145f6f1..8c0ba36 100644
--- a/drivers/cpufreq/cpufreq_smoothass.c
+++ b/drivers/cpufreq/cpufreq_smoothass.c
@@ -592,7 +592,7 @@
}
/* Scale up is high priority */
-up_wq = create_rt_workqueue("ksmoothass_up");
+up_wq = alloc_workqueue("ksmoothass_up", WQ_HIGHPRI | WQ_CPU_INTENSIVE, 1);
down_wq = create_workqueue("ksmoothass_down");
INIT_WORK(&freq_scale_work, cpufreq_smoothass_freq_change_time_work);