smp.h (4caa9dda388f34f957a9eb52b9f5ef1a8c975c7b) smp.h (f460b6abdeeafd30c3ee737c843be17b1ceb38e5)
1/*
2 * arch/arm/include/asm/smp.h
3 *
4 * Copyright (C) 2004-2005 ARM Ltd.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 98 unchanged lines hidden (view full) ---

107 bool (*cpu_can_disable)(unsigned int cpu);
108 int (*cpu_disable)(unsigned int cpu);
109#endif
110#endif
111};
112
113struct of_cpu_method {
114 const char *method;
1/*
2 * arch/arm/include/asm/smp.h
3 *
4 * Copyright (C) 2004-2005 ARM Ltd.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 98 unchanged lines hidden (view full) ---

107 bool (*cpu_can_disable)(unsigned int cpu);
108 int (*cpu_disable)(unsigned int cpu);
109#endif
110#endif
111};
112
113struct of_cpu_method {
114 const char *method;
115 struct smp_operations *ops;
115 const struct smp_operations *ops;
116};
117
118#define CPU_METHOD_OF_DECLARE(name, _method, _ops) \
119 static const struct of_cpu_method __cpu_method_of_table_##name \
120 __used __section(__cpu_method_of_table) \
121 = { .method = _method, .ops = _ops }
122/*
123 * set platform specific SMP operations
124 */
125extern void smp_set_ops(const struct smp_operations *);
126
127#endif /* ifndef __ASM_ARM_SMP_H */
116};
117
118#define CPU_METHOD_OF_DECLARE(name, _method, _ops) \
119 static const struct of_cpu_method __cpu_method_of_table_##name \
120 __used __section(__cpu_method_of_table) \
121 = { .method = _method, .ops = _ops }
122/*
123 * set platform specific SMP operations
124 */
125extern void smp_set_ops(const struct smp_operations *);
126
127#endif /* ifndef __ASM_ARM_SMP_H */