Skip to content

Commit

Permalink
Automatic merge of 'fixes-test' into merge-test (2023-08-01 21:01)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpe committed Aug 1, 2023
2 parents 645a4f1 + 2dc0bc1 commit 7ee21d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions arch/powerpc/kernel/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,7 @@ _GLOBAL(generic_secondary_smp_init)
beq 20f

/* start the specified thread */
LOAD_REG_ADDR(r5, fsl_secondary_thread_init)
ld r4, 0(r5)
LOAD_REG_ADDR(r5, DOTSYM(fsl_secondary_thread_init))
bl book3e_start_thread

/* stop the current thread */
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/85xx/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static void wake_hw_thread(void *info)
unsigned long inia;
int cpu = *(const int *)info;

inia = *(unsigned long *)fsl_secondary_thread_init;
inia = ppc_function_entry(fsl_secondary_thread_init);
book3e_start_thread(cpu_thread_in_core(cpu), inia);
}
#endif
Expand Down

0 comments on commit 7ee21d7

Please sign in to comment.