diff options
Diffstat (limited to 'arch/arm/include/asm/smp.h')
-rw-r--r-- | arch/arm/include/asm/smp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/include/asm/smp.h b/arch/arm/include/asm/smp.h index 4157aec4e307..2ec765c39ab4 100644 --- a/arch/arm/include/asm/smp.h +++ b/arch/arm/include/asm/smp.h | |||
@@ -115,6 +115,15 @@ struct smp_operations { | |||
115 | #endif | 115 | #endif |
116 | }; | 116 | }; |
117 | 117 | ||
118 | struct of_cpu_method { | ||
119 | const char *method; | ||
120 | struct smp_operations *ops; | ||
121 | }; | ||
122 | |||
123 | #define CPU_METHOD_OF_DECLARE(name, _method, _ops) \ | ||
124 | static const struct of_cpu_method __cpu_method_of_table_##name \ | ||
125 | __used __section(__cpu_method_of_table) \ | ||
126 | = { .method = _method, .ops = _ops } | ||
118 | /* | 127 | /* |
119 | * set platform specific SMP operations | 128 | * set platform specific SMP operations |
120 | */ | 129 | */ |