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
--