]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/stop_machine.c
sched: add new API sched_setscheduler_nocheck: add a flag to control access checks
[linux-2.6-omap-h63xx.git] / kernel / stop_machine.c
index b7350bbfb076293dd6d13d7ba060b3aba1f673a9..ba9b2054ecbdb99bbb868b4f9c01af0bb2ce2c30 100644 (file)
@@ -187,7 +187,7 @@ struct task_struct *__stop_machine_run(int (*fn)(void *), void *data,
                struct sched_param param = { .sched_priority = MAX_RT_PRIO-1 };
 
                /* One high-prio thread per cpu.  We'll do this one. */
-               sched_setscheduler(p, SCHED_FIFO, &param);
+               sched_setscheduler_nocheck(p, SCHED_FIFO, &param);
                kthread_bind(p, cpu);
                wake_up_process(p);
                wait_for_completion(&smdata.done);