Re: 2.6.24.7-rt18

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ankita Garg
Date: Tuesday, September 9, 2008 - 11:06 pm

Hi Steven,

On Tue, Sep 09, 2008 at 11:44:42PM -0400, Steven Rostedt wrote:

A trivial patch to remove the hard coded value of MAX_RT_PRIO in the
above patch.
 
Signed-off-by: Ankita Garg <ankita@in.ibm.com> 

Index: linux-2.6.26.5/kernel/futex.c
===================================================================
--- linux-2.6.26.5.orig/kernel/futex.c	2008-09-09 22:58:19.000000000 -0700
+++ linux-2.6.26.5/kernel/futex.c	2008-09-09 22:58:38.000000000 -0700
@@ -1241,7 +1241,7 @@
 			       "RT task %s:%d with priority %d"
 			       " using non PI futex\n",
 			       current->comm, current->pid,
-			       100 - current->prio);
+			       MAX_RT_PRIO - current->prio);
 		}
 	}
 
-- 
Regards,
Ankita Garg (ankita@in.ibm.com)
Linux Technology Center
IBM India Systems & Technology Labs, 
Bangalore, India   
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.24.7-rt18, Steven Rostedt, (Tue Sep 9, 8:44 pm)
Re: 2.6.24.7-rt18, Ankita Garg, (Tue Sep 9, 11:06 pm)
Re: 2.6.24.7-rt18, Steven Rostedt, (Wed Sep 10, 4:32 am)