summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/percpu.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-11-26 10:01:18 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-11-26 11:10:21 +0100
commit41725e9533f1c0d95ac62dc5f98011a96ded66ab (patch)
tree8c6e7c615907edd71f359f3394d0a86aaf368f21 /cpukit/include/rtems/score/percpu.h
parentrtems: Remove unused barriermp.h (diff)
downloadrtems-41725e9533f1c0d95ac62dc5f98011a96ded66ab.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--cpukit/include/rtems/score/percpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/percpu.h b/cpukit/include/rtems/score/percpu.h
index 31bc2b0bff..6ae2103d98 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 )