MIPS: Forward declare struct task_struct to avoid potencial warning.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 25 Mar 2009 13:41:09 +0000 (14:41 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 30 Mar 2009 12:49:39 +0000 (14:49 +0200)
arch/mips/include/asm/smp-ops.h

index 43c207e..64ffc02 100644 (file)
@@ -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);