From 198c07e5a58413bb2b16c01a15c545875d144ad5 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 3 Mar 2020 07:30:04 +0100 Subject: sptests/spextensions01: Add comment Update #3885. --- testsuites/sptests/spextensions01/init.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/testsuites/sptests/spextensions01/init.c b/testsuites/sptests/spextensions01/init.c index 7ce1da5320..06dc3109b1 100644 --- a/testsuites/sptests/spextensions01/init.c +++ b/testsuites/sptests/spextensions01/init.c @@ -453,6 +453,15 @@ static void test(void) #endif active_extensions = 4; + + /* + * In SMP configurations, the context switch from the system initialization + * context to the initialization task is visible to the context switch + * extensions. + * + * In uniprocessor configurations, this is not the case and two counter + * increments are missing. + */ #ifdef RTEMS_SMP assert(counter == 12); #else -- cgit v1.2.3