--- zzzz-none-000/linux-5.4.213/arch/arm64/include/asm/cpu_ops.h 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/arch/arm64/include/asm/cpu_ops.h 2024-05-29 11:19:50.000000000 +0000 @@ -63,4 +63,16 @@ cpu_read_ops(0); } +#ifdef CONFIG_QTI_APSS_ACC +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 /* CONFIG_QTI_APSS_ACC */ + #endif /* ifndef __ASM_CPU_OPS_H */