Commit a521440f authored by Philippe Gerum's avatar Philippe Gerum
Browse files

evl/sched: stop referring to obsolete MAX_USER_RT_PRIO

Since #ae18ad28

, MAX_RT_PRIO should be used instead.
Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
parent 57acc186
......@@ -18,7 +18,7 @@
* couple of levels more, from EVL_CORE_MIN_PRIO to EVL_CORE_MAX_PRIO.
*/
#define EVL_FIFO_MIN_PRIO 1
#define EVL_FIFO_MAX_PRIO (MAX_USER_RT_PRIO - 1)
#define EVL_FIFO_MAX_PRIO (MAX_RT_PRIO - 1)
extern struct evl_sched_class evl_sched_fifo;
......
......@@ -15,9 +15,9 @@
* EVL core priority scale. We reserve a couple of additional priority
* levels above the highest inband kthread priority (MAX_RT_PRIO-1),
* which is guaranteed not to be less than the highest EVL user task
* priority (MAX_USER_RT_PRIO-1) we use for SCHED_FIFO. Those extra
* levels can be used for EVL kthreads which must top the priority of
* any userland thread.
* priority (MAX_RT_PRIO-1) we use for SCHED_FIFO. Those extra levels
* can be used for EVL kthreads which must top the priority of any
* userland thread.
*/
#define EVL_CORE_MIN_PRIO 0
#define EVL_CORE_MAX_PRIO (MAX_RT_PRIO + 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment