diff options
-rw-r--r-- | kernel/softlockup.c | 2 |
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 | */ |
83 | static int watchdog(void * __bind_cpu) | 83 | static 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, ¶m); | 87 | sched_setscheduler(current, SCHED_FIFO, ¶m); |
88 | current->flags |= PF_NOFREEZE; | 88 | current->flags |= PF_NOFREEZE; |