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.
This commit is contained in:
Sebastian Huber
2018-07-24 10:50:39 +02:00
parent 0d362ff397
commit 4678d1a8b0
7 changed files with 23 additions and 15 deletions

View File

@@ -105,7 +105,9 @@ typedef struct {
extern qoriq_start_spin_table *
qoriq_start_spin_table_addr[QORIQ_CPU_COUNT / QORIQ_THREAD_COUNT];
void qoriq_start_thread(void);
struct Per_CPU_Control;
void qoriq_start_thread(struct Per_CPU_Control *);
void qoriq_restart_secondary_processor(
const qoriq_start_spin_table *spin_table