--- zzzz-none-000/linux-3.10.107/arch/sparc/include/asm/ptrace.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/sparc/include/asm/ptrace.h 2021-02-04 17:41:59.000000000 +0000 @@ -73,7 +73,7 @@ return regs->u_regs[UREG_I0]; } #ifdef CONFIG_SMP -extern unsigned long profile_pc(struct pt_regs *); +unsigned long profile_pc(struct pt_regs *); #else #define profile_pc(regs) instruction_pointer(regs) #endif