--- zzzz-none-000/linux-4.1.52/tools/perf/util/unwind.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/tools/perf/util/unwind.h 2022-03-02 11:37:14.000000000 +0000 @@ -14,6 +14,10 @@ typedef int (*unwind_entry_cb_t)(struct unwind_entry *entry, void *arg); +#if defined(CONFIG_BCM_KF_MIPS_4350) && (defined(CONFIG_BCM96838) || defined(CONFIG_BCM96848)) +int libunwind__arch_reg_id(int regnum); +#endif + #ifdef HAVE_DWARF_UNWIND_SUPPORT int unwind__get_entries(unwind_entry_cb_t cb, void *arg, struct thread *thread,