--- zzzz-none-000/linux-4.4.271/arch/arm64/include/asm/cpu_ops.h 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/arch/arm64/include/asm/cpu_ops.h 2023-04-19 10:22:27.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 */