--- zzzz-none-000/linux-3.10.107/arch/arm/include/asm/glue-proc.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm/include/asm/glue-proc.h 2021-02-04 17:41:59.000000000 +0000 @@ -221,12 +221,12 @@ # endif #endif -#ifdef CONFIG_CPU_V7 +#ifdef CONFIG_CPU_V7M # ifdef CPU_NAME # undef MULTI_CPU # define MULTI_CPU # else -# define CPU_NAME cpu_v7 +# define CPU_NAME cpu_v7m # endif #endif @@ -239,6 +239,15 @@ # endif #endif +#ifdef CONFIG_CPU_V7 +/* + * Cortex-A9 needs a different suspend/resume function, so we need + * multiple CPU support for ARMv7 anyway. + */ +# undef MULTI_CPU +# define MULTI_CPU +#endif + #ifndef MULTI_CPU #define cpu_proc_init __glue(CPU_NAME,_proc_init) #define cpu_proc_fin __glue(CPU_NAME,_proc_fin)