summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/partdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/rtems/partdata.h')
-rw-r--r--cpukit/include/rtems/rtems/partdata.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/include/rtems/rtems/partdata.h b/cpukit/include/rtems/rtems/partdata.h
index 196c2142ae..a6bcee229a 100644
--- a/cpukit/include/rtems/rtems/partdata.h
+++ b/cpukit/include/rtems/rtems/partdata.h
@@ -41,11 +41,13 @@ typedef struct {
*/
Objects_Control Object;
+#if defined(RTEMS_SMP)
/**
* @brief This lock protects the chain of unallocated buffers and the number
* of allocated buffers.
*/
- ISR_LOCK_MEMBER( Lock )
+ ISR_lock_Control Lock;
+#endif
/**
* @brief This member contains the base address of the buffer area.