Explorar o código

MIPS: Forward declare struct task_struct to avoid potencial warning.

Ralf Baechle %!s(int64=16) %!d(string=hai) anos
pai
achega
f5fd02a33e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      arch/mips/include/asm/smp-ops.h

+ 2 - 0
arch/mips/include/asm/smp-ops.h

@@ -15,6 +15,8 @@
 
 #include <linux/cpumask.h>
 
+struct task_struct;
+
 struct plat_smp_ops {
 	void (*send_ipi_single)(int cpu, unsigned int action);
 	void (*send_ipi_mask)(cpumask_t mask, unsigned int action);