summaryrefslogtreecommitdiff
path: root/cpukit/score/src/percpu.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-07 14:36:22 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-14 08:46:49 +0100
commit53ad908a646eb6fd67f9b4586f4b484e8255b9d3 (patch)
tree7dd408879d01a507e6052f375ec6e14ab3f8965d /cpukit/score/src/percpu.c
parentf980561ee073a7f24f65ed572852fa96edfa1708 (diff)
score: Add SMP lock profiling support
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,