From 0965b7c8b7956846167f43b813d68f8b5f2a60a1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 12 Mar 2021 14:16:30 +0100 Subject: rtems: Require RTEMS_PRIORITY for MrsP semaphores MrsP semaphores are a generalization of the priority ceiling semaphores for SMP configurations. Priority ceiling semaphores are required to use the priority task wait queue discipline. Require this discipline also for MrsP semaphores. Close #4347. --- testsuites/smptests/smpscheduler02/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testsuites/smptests/smpscheduler02/init.c') diff --git a/testsuites/smptests/smpscheduler02/init.c b/testsuites/smptests/smpscheduler02/init.c index 9297efec23..b337fc667e 100644 --- a/testsuites/smptests/smpscheduler02/init.c +++ b/testsuites/smptests/smpscheduler02/init.c @@ -82,7 +82,8 @@ static void sticky_task(rtems_task_argument arg) sc = rtems_semaphore_create( rtems_build_name(' ', 'M', 'T', 'X'), 1, - RTEMS_BINARY_SEMAPHORE | RTEMS_MULTIPROCESSOR_RESOURCE_SHARING, + RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | + RTEMS_MULTIPROCESSOR_RESOURCE_SHARING, 2, &mtx_id ); -- cgit v1.2.3