The patch titled Fix Philips UCB1400 driver to use sched_setscheduler has been added to the -mm tree. Its filename is fix-philips-ucb1400-driver-to-use-sched_setscheduler.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Fix Philips UCB1400 driver to use sched_setscheduler From: Satoru Takeuchi <takeuchi_satoru@xxxxxxxxxxxxxx> Fix Philips UCB1400 driver to use sched_setscheduler() instead of setting the fields of task_struct directly. Signed-off-by: Satoru Takeuchi <takeuchi_satoru@xxxxxxxxxxxxxx> Cc: Dmitry Torokhov <dtor@xxxxxxx> Cc: Cliff Brake <cbrake@xxxxxxxxxxxxxxx> Cc: Nicolas Pitre <nico@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/input/touchscreen/ucb1400_ts.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/input/touchscreen/ucb1400_ts.c~fix-philips-ucb1400-driver-to-use-sched_setscheduler drivers/input/touchscreen/ucb1400_ts.c --- a/drivers/input/touchscreen/ucb1400_ts.c~fix-philips-ucb1400-driver-to-use-sched_setscheduler +++ a/drivers/input/touchscreen/ucb1400_ts.c @@ -288,9 +288,9 @@ static int ucb1400_ts_thread(void *_ucb) struct ucb1400 *ucb = _ucb; struct task_struct *tsk = current; int valid = 0; + struct sched_param param = { .sched_priority = 1 }; - tsk->policy = SCHED_FIFO; - tsk->rt_priority = 1; + sched_setscheduler(tsk, SCHED_FIFO, ¶m); while (!kthread_should_stop()) { unsigned int x, y, p; _ Patches currently in -mm which might be from takeuchi_satoru@xxxxxxxxxxxxxx are fix-philips-ucb1400-driver-to-use-sched_setscheduler.patch fix-stop_machine_run-problem-with-naughty-real-time-process.patch cpu-hotplug-fix-ksoftirqd-termination-on-cpu-hotplug-with-naughty-realtime-process.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html