aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/softlockup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/softlockup.c b/kernel/softlockup.c
index 50afeb813305..81d43caa2012 100644
--- a/kernel/softlockup.c
+++ b/kernel/softlockup.c
@@ -82,7 +82,7 @@ void softlockup_tick(void)
82 */ 82 */
83static int watchdog(void * __bind_cpu) 83static int watchdog(void * __bind_cpu)
84{ 84{
85 struct sched_param param = { .sched_priority = 99 }; 85 struct sched_param param = { .sched_priority = MAX_RT_PRIO-1 };
86 86
87 sched_setscheduler(current, SCHED_FIFO, &param); 87 sched_setscheduler(current, SCHED_FIFO, &param);
88 current->flags |= PF_NOFREEZE; 88 current->flags |= PF_NOFREEZE;