--- zzzz-none-000/linux-3.18.24/arch/mips/kernel/time.c 2015-10-31 20:39:51.000000000 +0000 +++ rtl96-5690pro-762/linux-3.18.24/arch/mips/kernel/time.c 2024-08-14 08:36:36.000000000 +0000 @@ -49,6 +49,7 @@ return rtc_mips_set_mmss(now.tv_sec); } +#ifndef CONFIG_CPU_RLX static int null_perf_irq(void) { return 0; @@ -57,11 +58,12 @@ int (*perf_irq)(void) = null_perf_irq; EXPORT_SYMBOL(perf_irq); +#endif /* * time_init() - it does the following things. * - * 1) plat_time_init() - + * 1) bsp_time_init() - * a) (optional) set up RTC routines, * b) (optional) calibrate and set the mips_hpt_frequency * (only needed if you intended to use cpu counter as timer interrupt