summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp19/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp19/system.h')
-rw-r--r--testsuites/sptests/sp19/system.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuites/sptests/sp19/system.h b/testsuites/sptests/sp19/system.h
index f6e39c36b9..59ae0104f0 100644
--- a/testsuites/sptests/sp19/system.h
+++ b/testsuites/sptests/sp19/system.h
@@ -40,7 +40,11 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_TASKS 7
-#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+void thread_switch_extension( Thread_Control *, Thread_Control * );
+
+#define CONFIGURE_INITIAL_EXTENSIONS \
+ { .thread_switch = thread_switch_extension }, \
+ RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE