On Tue, 13 Oct 2015, Qais Yousef wrote:
+#ifdef CONFIG_GENERIC_IRQ_IPIPlease use a mips name space. This suggests that it s completely
+void generic_smp_send_ipi_single(int cpu, unsigned int action)
generic, which is not true.
+{Ditto.
+ generic_smp_send_ipi_mask(cpumask_of(cpu), action);
+}
+
+void generic_smp_send_ipi_mask(const struct cpumask *mask, unsigned int action)
+{We have accessors for that. Hmm, so for this case we must make the
+ unsigned long flags;
+ unsigned int core;
+ int cpu;
+ struct ipi_mask ipi_mask;
+
+ ipi_mask.cpumask = ((struct cpumask *)mask)->bits;
ipi_mask different:
struct ipi_mask {
unsigned int nbits;
bool global;
union {
struct cpumask *mask;
unsigned long cpu_bitmap[];
};
};