powerpc: Fix merge conflict between pcrel and copy_thread changes
authorNicholas Piggin <npiggin@gmail.com>
Wed, 26 Apr 2023 05:58:38 +0000 (15:58 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 26 Apr 2023 06:20:16 +0000 (16:20 +1000)
Fix a conflict between commit 4e991e3c16a35 ("powerpc: add CFUNC
assembly label annotation") and commit b504b6aade040 ("powerpc:
differentiate kthread from user kernel thread start").

Fixes: 4e991e3c16a35 ("powerpc: add CFUNC assembly label annotation")
Fixes: b504b6aade040 ("powerpc: differentiate kthread from user kernel thread start")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230426055848.402993-2-npiggin@gmail.com
arch/powerpc/kernel/interrupt_64.S

index 6730d676284c49b86cde622357d16a356b842688..bd863702d81218d80e61c73e469d448f963eb265 100644 (file)
@@ -756,7 +756,7 @@ _GLOBAL(ret_from_kernel_user_thread)
        b       .Lsyscall_exit
 
 _GLOBAL(start_kernel_thread)
-       bl      schedule_tail
+       bl      CFUNC(schedule_tail)
        mtctr   r14
        mr      r3,r15
 #ifdef CONFIG_PPC64_ELF_ABI_V2