smp.h (bf61c8840efe60fd8f91446860b63338fb424158) smp.h (cd1aebf5277a3a154a9e4c0ea4b3acabb62e5cab)
1/*
2 * Copyright (C) 2012 ARM Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

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

61};
62extern struct secondary_data secondary_data;
63extern void secondary_holding_pen(void);
64extern volatile unsigned long secondary_holding_pen_release;
65
66extern void arch_send_call_function_single_ipi(int cpu);
67extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
68
1/*
2 * Copyright (C) 2012 ARM Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

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

61};
62extern struct secondary_data secondary_data;
63extern void secondary_holding_pen(void);
64extern volatile unsigned long secondary_holding_pen_release;
65
66extern void arch_send_call_function_single_ipi(int cpu);
67extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
68
69struct device_node;
70
71struct smp_enable_ops {
72 const char *name;
73 int (*init_cpu)(struct device_node *, int);
74 int (*prepare_cpu)(int);
75};
76
77extern const struct smp_enable_ops smp_spin_table_ops;
78extern const struct smp_enable_ops smp_psci_ops;
79
80#endif /* ifndef __ASM_SMP_H */
69#endif /* ifndef __ASM_SMP_H */