Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=02fb6149f7a64c62934c035e7635321cb9a8cf2e
Commit:     02fb6149f7a64c62934c035e7635321cb9a8cf2e
Parent:     1065d130dddc3241706c50a01ced7b03bcb657be
Author:     Oleg Nesterov <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:24:03 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:14:59 2007 -0700

    softlockup: s/99/MAX_RT_PRIO/
    
    Don't use hardcoded 99 value, use MAX_RT_PRIO.
    
    Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]>
    Cc: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 kernel/softlockup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/softlockup.c b/kernel/softlockup.c
index 50afeb8..81d43ca 100644
--- a/kernel/softlockup.c
+++ b/kernel/softlockup.c
@@ -82,7 +82,7 @@ void softlockup_tick(void)
  */
 static int watchdog(void * __bind_cpu)
 {
-       struct sched_param param = { .sched_priority = 99 };
+       struct sched_param param = { .sched_priority = MAX_RT_PRIO-1 };
 
        sched_setscheduler(current, SCHED_FIFO, &param);
        current->flags |= PF_NOFREEZE;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to