summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spcache01
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 /testsuites/sptests/spcache01
parentscore: Add per-CPU profiling (diff)
downloadrtems-53ad908a646eb6fd67f9b4586f4b484e8255b9d3.tar.bz2
score: Add SMP lock profiling support
Diffstat (limited to 'testsuites/sptests/spcache01')
-rw-r--r--testsuites/sptests/spcache01/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/spcache01/init.c b/testsuites/sptests/spcache01/init.c
index 4c0c3c3f61..92ea4ec599 100644
--- a/testsuites/sptests/spcache01/init.c
+++ b/testsuites/sptests/spcache01/init.c
@@ -48,7 +48,7 @@ static void test_data_flush_and_invalidate(void)
printf("data cache flush and invalidate test\n");
- rtems_interrupt_lock_initialize(&lock);
+ rtems_interrupt_lock_initialize(&lock, "test");
rtems_interrupt_lock_acquire(&lock, &lock_context);
for (i = 0; i < n; ++i) {
@@ -168,7 +168,7 @@ static void test_timing(void)
uint32_t cache_level;
size_t cache_size;
- rtems_interrupt_lock_initialize(&lock);
+ rtems_interrupt_lock_initialize(&lock, "test");
printf(
"data cache line size %zi bytes\n"