浏览代码

MIPS: Forward declare struct task_struct to avoid potencial warning.

Ralf Baechle 16 年之前
父节点
当前提交
f5fd02a33e
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);