From e745ec59d8b5b8ff64b2920789296b624514d352 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 4 Jul 2017 09:48:52 +0200 Subject: smptests/smpstrongapa01: Simplify 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 +#include 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); } } } -- cgit v1.2.3