[rtems commit] score: Change _Per_CPU_Information declaration
Sebastian Huber
sebh at rtems.org
Fri Nov 27 07:46:46 UTC 2020
Module: rtems
Branch: master
Commit: 41725e9533f1c0d95ac62dc5f98011a96ded66ab
Changeset: http://git.rtems.org/rtems/commit/?id=41725e9533f1c0d95ac62dc5f98011a96ded66ab
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Nov 26 10:01:18 2020 +0100
score: Change _Per_CPU_Information declaration
Change the _Per_CPU_Information declaration so that Doxygen can parse
it. This attribute placement is also in line with the _Alignas()
specifier of C11.
---
cpukit/include/rtems/score/percpu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/include/rtems/score/percpu.h b/cpukit/include/rtems/score/percpu.h
index 31bc2b0..6ae2103 100644
--- a/cpukit/include/rtems/score/percpu.h
+++ b/cpukit/include/rtems/score/percpu.h
@@ -617,7 +617,7 @@ typedef struct {
*
* This is an array of per CPU core information.
*/
-extern Per_CPU_Control_envelope _Per_CPU_Information[] CPU_STRUCTURE_ALIGNMENT;
+extern CPU_STRUCTURE_ALIGNMENT Per_CPU_Control_envelope _Per_CPU_Information[];
#define _Per_CPU_Acquire( cpu, lock_context ) \
_ISR_lock_Acquire( &( cpu )->Lock, lock_context )
More information about the vc
mailing list