diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-03-12 14:16:30 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-03-16 14:47:25 +0100 |
commit | 0965b7c8b7956846167f43b813d68f8b5f2a60a1 (patch) | |
tree | 4c04e95b8512923fa6678413f7482e8be739fa89 /testsuites/tmtests/tmfine01 | |
parent | sp14: Fix for SMP or robust thread dispatch (diff) | |
download | rtems-0965b7c8b7956846167f43b813d68f8b5f2a60a1.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | testsuites/tmtests/tmfine01/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/tmtests/tmfine01/init.c b/testsuites/tmtests/tmfine01/init.c index d62278cb07..e2daa174b9 100644 --- a/testsuites/tmtests/tmfine01/init.c +++ b/testsuites/tmtests/tmfine01/init.c @@ -501,7 +501,8 @@ static void test_many_classic_mrsp_body( sc = rtems_semaphore_create( rtems_build_name('T', 'E', 'S', 'T'), 1, - RTEMS_BINARY_SEMAPHORE | RTEMS_MULTIPROCESSOR_RESOURCE_SHARING, + RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | + RTEMS_MULTIPROCESSOR_RESOURCE_SHARING, 1, &id ); |