summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/confdefs.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-18 16:52:32 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-02-02 15:01:21 +0100
commit1b2da177ef052c631ab6707a40682ce61537ea49 (patch)
tree148adf39166cea48c1c33aab803175a7a93d1270 /cpukit/include/rtems/confdefs.h
parentAdd RTEMS thread API (diff)
downloadrtems-1b2da177ef052c631ab6707a40682ce61537ea49.tar.bz2
libblock: Use self-contained mutex for disk lock
Update #2843.
Diffstat (limited to 'cpukit/include/rtems/confdefs.h')
-rwxr-xr-xcpukit/include/rtems/confdefs.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h
index 45618b7a14..a8a91ab989 100755
--- a/cpukit/include/rtems/confdefs.h
+++ b/cpukit/include/rtems/confdefs.h
@@ -1832,22 +1832,17 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
0 : CONFIGURE_BDBUF_TASK_STACK_SIZE - CONFIGURE_MINIMUM_TASK_STACK_SIZE))
#ifdef RTEMS_BDBUF_USE_PTHREAD
- /*
- * Semaphores:
- * o disk lock
- */
- #define _CONFIGURE_LIBBLOCK_SEMAPHORES 1
+ #define _CONFIGURE_LIBBLOCK_SEMAPHORES 0
#else
/*
* Semaphores:
- * o disk lock
* o bdbuf lock
* o bdbuf sync lock
* o bdbuf access condition
* o bdbuf transfer condition
* o bdbuf buffer condition
*/
- #define _CONFIGURE_LIBBLOCK_SEMAPHORES 6
+ #define _CONFIGURE_LIBBLOCK_SEMAPHORES 5
#endif
#if defined(CONFIGURE_HAS_OWN_BDBUF_TABLE) || \