diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-07 12:53:41 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-11 10:58:09 +0100 |
commit | 28779c70ffebbb2006eb7df01d64180859bb324e (patch) | |
tree | 18a8a77fce926492c090ca2bea21904d743adeb6 /testsuites/sptests/spcache01 | |
parent | d50acdbb6c8213114ce887a56daea02697c9e1a1 (diff) |
score: Add function to destroy SMP locks
Diffstat (limited to 'testsuites/sptests/spcache01')
-rw-r--r-- | testsuites/sptests/spcache01/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/sptests/spcache01/init.c b/testsuites/sptests/spcache01/init.c index faccbd4084..4c0c3c3f61 100644 --- a/testsuites/sptests/spcache01/init.c +++ b/testsuites/sptests/spcache01/init.c @@ -90,6 +90,7 @@ static void test_data_flush_and_invalidate(void) } rtems_interrupt_lock_release(&lock, &lock_context); + rtems_interrupt_lock_destroy(&lock); printf( "data cache operations by line passed the test (%s cache detected)\n", @@ -364,6 +365,8 @@ static void test_timing(void) d[1], d[2] ); + + rtems_interrupt_lock_destroy(&lock); } static void Init(rtems_task_argument arg) |