From 4678d1a8b0e74a12809122ef071324c99e78d7ff Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 24 Jul 2018 10:50:39 +0200 Subject: bsps: bsp_start_on_secondary_processor() Pass current processor control as first parameter in bsp_start_on_secondary_processor() and qoriq_start_thread() to make dependency more explicit. --- testsuites/smptests/smpfatal08/init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites') diff --git a/testsuites/smptests/smpfatal08/init.c b/testsuites/smptests/smpfatal08/init.c index abe0132aa8..209b79c60c 100644 --- a/testsuites/smptests/smpfatal08/init.c +++ b/testsuites/smptests/smpfatal08/init.c @@ -34,15 +34,17 @@ const char rtems_test_name[] = "SMPFATAL 8"; * without BSP support. */ -void bsp_start_on_secondary_processor(void) +void bsp_start_on_secondary_processor(struct Per_CPU_Control *cpu_self) { /* Provided to avoid multiple definitions of the CPU SMP support functions */ + (void) cpu_self; } #if QORIQ_THREAD_COUNT > 1 -void qoriq_start_thread(void) +void qoriq_start_thread(Per_CPU_Control *cpu_self) { /* Provided to avoid multiple definitions of the CPU SMP support functions */ + (void) cpu_self; } #endif -- cgit v1.2.3