diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-01-02 16:40:21 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-02-07 08:58:29 +0100 |
commit | 868ca746c21c9cb0743bec597687b5354230c8ba (patch) | |
tree | 69f160b49c3fca432d158a31a30a033fa3748349 /cpukit/include/rtems/sparse-disk.h | |
parent | libblock: Use self-contained mutex for flashdisk (diff) | |
download | rtems-868ca746c21c9cb0743bec597687b5354230c8ba.tar.bz2 |
libblock: Use self-contained mutex for sparse disk
Update #2843.
Diffstat (limited to 'cpukit/include/rtems/sparse-disk.h')
-rw-r--r-- | cpukit/include/rtems/sparse-disk.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/include/rtems/sparse-disk.h b/cpukit/include/rtems/sparse-disk.h index e558e08925..7233c756ba 100644 --- a/cpukit/include/rtems/sparse-disk.h +++ b/cpukit/include/rtems/sparse-disk.h @@ -27,6 +27,7 @@ #include <stdint.h> #include <rtems.h> #include <rtems/diskdevs.h> +#include <rtems/thread.h> #ifdef __cplusplus extern "C" { @@ -50,7 +51,7 @@ typedef struct rtems_sparse_disk rtems_sparse_disk; typedef void (*rtems_sparse_disk_delete_handler)(rtems_sparse_disk *sparse_disk); struct rtems_sparse_disk { - rtems_id mutex; + rtems_mutex mutex; rtems_blkdev_bnum blocks_with_buffer; size_t used_count; uint32_t media_block_size; |