[rtems commit] libblock: Use proper semaphore attr for mutex
Sebastian Huber
sebh at rtems.org
Mon Jun 6 11:16:14 UTC 2016
Module: rtems
Branch: master
Commit: 89f8d9fcc030014a33983d22d01187311cbf181e
Changeset: http://git.rtems.org/rtems/commit/?id=89f8d9fcc030014a33983d22d01187311cbf181e
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Jun 6 12:48:13 2016 +0200
libblock: Use proper semaphore attr for mutex
Close #1452.
---
cpukit/libblock/src/diskdevs.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/cpukit/libblock/src/diskdevs.c b/cpukit/libblock/src/diskdevs.c
index fceed83..cb1f157 100644
--- a/cpukit/libblock/src/diskdevs.c
+++ b/cpukit/libblock/src/diskdevs.c
@@ -551,8 +551,7 @@ rtems_disk_io_initialize(void)
sc = rtems_semaphore_create(
rtems_build_name('D', 'D', 'E', 'V'),
1,
- RTEMS_FIFO | RTEMS_BINARY_SEMAPHORE | RTEMS_NO_INHERIT_PRIORITY
- | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL,
+ RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY,
0,
&diskdevs_mutex
);
More information about the vc
mailing list