Merge "msm: dcvs: run dcvs, mpdecision threads at default priority"
diff --git a/arch/arm/mach-msm/msm_dcvs.c b/arch/arm/mach-msm/msm_dcvs.c
index b2160c5..c1c05af 100644
--- a/arch/arm/mach-msm/msm_dcvs.c
+++ b/arch/arm/mach-msm/msm_dcvs.c
@@ -384,9 +384,6 @@
static int msm_dcvs_do_freq(void *data)
{
struct dcvs_core *core = (struct dcvs_core *)data;
- static struct sched_param param = {.sched_priority = MAX_RT_PRIO - 1};
-
- sched_setscheduler(current, SCHED_FIFO, ¶m);
while (!kthread_should_stop()) {
wait_event(core->wait_q, !(core->pending_freq == 0 ||
diff --git a/arch/arm/mach-msm/msm_mpdecision.c b/arch/arm/mach-msm/msm_mpdecision.c
index 9f6cc11..a65b3ee 100644
--- a/arch/arm/mach-msm/msm_mpdecision.c
+++ b/arch/arm/mach-msm/msm_mpdecision.c
@@ -356,11 +356,8 @@
static int __cpuinit msm_mpd_do_hotplug(void *data)
{
int *event = (int *)data;
- static struct sched_param param = {.sched_priority = MAX_RT_PRIO - 1};
int cpu;
- sched_setscheduler(current, SCHED_FIFO, ¶m);
-
while (1) {
wait_event(msm_mpd.wait_hpq, *event || kthread_should_stop());
if (kthread_should_stop())
@@ -400,13 +397,10 @@
static int msm_mpd_do_update_scm(void *data)
{
struct msm_mpd_scm_data *scm_data = (struct msm_mpd_scm_data *)data;
- static struct sched_param param = {.sched_priority = MAX_RT_PRIO - 1};
unsigned long flags;
enum msm_dcvs_scm_event event;
int nr;
- sched_setscheduler(current, SCHED_FIFO, ¶m);
-
while (1) {
wait_event(msm_mpd.wait_q,
msm_mpd.data.event == MSM_DCVS_SCM_MPD_QOS_TIMER_EXPIRED