summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/percpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/percpu.c')
-rw-r--r--cpukit/score/src/percpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/src/percpu.c b/cpukit/score/src/percpu.c
index 50e523941c..6d31ed40e5 100644
--- a/cpukit/score/src/percpu.c
+++ b/cpukit/score/src/percpu.c
@@ -26,7 +26,8 @@
#if defined(RTEMS_SMP)
-static SMP_lock_Control _Per_CPU_State_lock = SMP_LOCK_INITIALIZER;
+static SMP_lock_Control _Per_CPU_State_lock =
+ SMP_LOCK_INITIALIZER("per-CPU state");
static void _Per_CPU_State_busy_wait(
const Per_CPU_Control *per_cpu,