[PATCH v2 11/15] smptests/smpstrongapa01: Simplify
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Jul 7 13:54:48 UTC 2017
Update #3059.
---
testsuites/smptests/smpstrongapa01/init.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testsuites/smptests/smpstrongapa01/init.c b/testsuites/smptests/smpstrongapa01/init.c
index 16ef6e4723..75ac79bc54 100644
--- a/testsuites/smptests/smpstrongapa01/init.c
+++ b/testsuites/smptests/smpstrongapa01/init.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016 embedded brains GmbH. All rights reserved.
+ * Copyright (c) 2016, 2017 embedded brains GmbH. All rights reserved.
*
* embedded brains GmbH
* Dornierstr. 4
@@ -18,7 +18,7 @@
#include "tmacros.h"
-#include <rtems/score/threadimpl.h>
+#include <rtems.h>
const char rtems_test_name[] = "SMPSTRONGAPA 1";
@@ -193,7 +193,7 @@ static void check_cpu_allocations(test_context *ctx, const test_action *action)
if (e != IDLE) {
rtems_test_assert(h->Object.id == ctx->task_ids[e]);
} else {
- rtems_test_assert(h->Start.Entry.adaptor == _Thread_Entry_adaptor_idle);
+ rtems_test_assert(h->is_idle);
}
}
}
--
2.12.3
More information about the devel
mailing list