summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/percpuasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/percpuasm.c')
-rw-r--r--cpukit/score/src/percpuasm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/score/src/percpuasm.c b/cpukit/score/src/percpuasm.c
index 968bc4855f..ecb43579ac 100644
--- a/cpukit/score/src/percpuasm.c
+++ b/cpukit/score/src/percpuasm.c
@@ -51,6 +51,12 @@ RTEMS_STATIC_ASSERT(
);
RTEMS_STATIC_ASSERT(
+ offsetof(Per_CPU_Control, thread_dispatch_disable_level)
+ == PER_CPU_THREAD_DISPATCH_DISABLE_LEVEL,
+ PER_CPU_THREAD_DISPATCH_DISABLE_LEVEL
+);
+
+RTEMS_STATIC_ASSERT(
offsetof(Per_CPU_Control, dispatch_necessary) == PER_CPU_DISPATCH_NEEDED,
PER_CPU_DISPATCH_NEEDED
);