--- zzzz-none-000/linux-3.10.107/arch/xtensa/kernel/xtensa_ksyms.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/xtensa/kernel/xtensa_ksyms.c 2021-02-04 17:41:59.000000000 +0000 @@ -20,11 +20,13 @@ #include #include +#include #include #include #include #include #include +#include #ifdef CONFIG_BLK_DEV_FD #include #endif @@ -104,6 +106,7 @@ * Architecture-specific symbols */ EXPORT_SYMBOL(__xtensa_copy_user); +EXPORT_SYMBOL(__invalidate_icache_range); /* * Kernel hacking ... @@ -121,6 +124,13 @@ EXPORT_SYMBOL(insl); extern long common_exception_return; -extern long _spill_registers; EXPORT_SYMBOL(common_exception_return); -EXPORT_SYMBOL(_spill_registers); + +#ifdef CONFIG_FUNCTION_TRACER +EXPORT_SYMBOL(_mcount); +#endif + +EXPORT_SYMBOL(__invalidate_dcache_range); +#if XCHAL_DCACHE_IS_WRITEBACK +EXPORT_SYMBOL(__flush_dcache_range); +#endif