[PATCH 08/12] score: Always define RTEMSScoreMRSP group
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Dec 1 08:10:09 UTC 2020
This fixes a Doxygen warning.
---
cpukit/include/rtems/score/mrsp.h | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/cpukit/include/rtems/score/mrsp.h b/cpukit/include/rtems/score/mrsp.h
index e42c3a400c..678a678b14 100644
--- a/cpukit/include/rtems/score/mrsp.h
+++ b/cpukit/include/rtems/score/mrsp.h
@@ -24,9 +24,6 @@
#define _RTEMS_SCORE_MRSP_H
#include <rtems/score/cpuopts.h>
-
-#if defined(RTEMS_SMP)
-
#include <rtems/score/threadq.h>
#ifdef __cplusplus
@@ -57,6 +54,8 @@ extern "C" {
* @{
*/
+#if defined(RTEMS_SMP)
+
/**
* @brief MrsP control block.
*/
@@ -77,12 +76,12 @@ typedef struct {
Priority_Control ceiling_priorities[ RTEMS_ZERO_LENGTH_ARRAY ];
} MRSP_Control;
+#endif /* RTEMS_SMP */
+
/** @} */
#ifdef __cplusplus
}
#endif /* __cplusplus */
-#endif /* RTEMS_SMP */
-
#endif /* _RTEMS_SCORE_MRSP_H */
--
2.26.2
More information about the devel
mailing list