--- zzzz-none-000/linux-3.10.107/arch/mips/include/asm/time.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/arch/mips/include/asm/time.h 2021-11-10 11:53:54.000000000 +0000 @@ -18,6 +18,7 @@ #include #include #include +#include extern spinlock_t rtc_lock; @@ -75,7 +76,7 @@ static inline int init_mips_clocksource(void) { -#if defined(CONFIG_CSRC_R4K) && !defined(CONFIG_CSRC_GIC) +#ifdef CONFIG_CSRC_R4K return init_r4k_clocksource(); #else return 0;