From 1b2da177ef052c631ab6707a40682ce61537ea49 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 18 Nov 2017 16:52:32 +0100 Subject: libblock: Use self-contained mutex for disk lock Update #2843. --- cpukit/include/rtems/confdefs.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'cpukit/include') 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) || \ -- cgit v1.2.3