[rtems commit] smptests/smpmrsp01: Fix test context

Sebastian Huber sebh at rtems.org
Thu Mar 3 08:12:34 UTC 2016


Module:    rtems
Branch:    master
Commit:    eead8f7cf9bf69b6ac687a723f2a351a2cbe4a66
Changeset: http://git.rtems.org/rtems/commit/?id=eead8f7cf9bf69b6ac687a723f2a351a2cbe4a66

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Mar  2 15:28:29 2016 +0100

smptests/smpmrsp01: Fix test context

---

 testsuites/smptests/smpmrsp01/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/smptests/smpmrsp01/init.c b/testsuites/smptests/smpmrsp01/init.c
index 9b5d22b..17f0f8b 100644
--- a/testsuites/smptests/smpmrsp01/init.c
+++ b/testsuites/smptests/smpmrsp01/init.c
@@ -63,7 +63,7 @@ typedef struct {
   rtems_id mrsp_ids[MRSP_COUNT];
   rtems_id scheduler_ids[CPU_COUNT];
   rtems_id worker_ids[2 * CPU_COUNT];
-  volatile bool stop_worker[CPU_COUNT];
+  volatile bool stop_worker[2 * CPU_COUNT];
   counter counters[2 * CPU_COUNT];
   uint32_t migration_counters[CPU_COUNT];
   Thread_Control *worker_task;




More information about the vc mailing list