--- zzzz-none-000/linux-4.4.60/arch/arm64/include/asm/cpu_ops.h 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-7490-727/linux-4.4.60/arch/arm64/include/asm/cpu_ops.h 2021-02-04 17:41:59.000000000 +0000 @@ -71,4 +71,14 @@ cpu_read_ops(0); } +struct of_cpu_method { + const char *method; + struct cpu_operations *ops; +}; + +#define CPU_METHOD_OF_DECLARE(name, _method, _ops) \ + static const struct of_cpu_method __cpu_method_of_table_##name \ + __used __section(__cpu_method_of_table) \ + = { .method = _method, .ops = _ops } + #endif /* ifndef __ASM_CPU_OPS_H */