소스 검색

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);