aboutsummaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-03-25 14:41:09 +0100
committerRalf Baechle <ralf@linux-mips.org>2009-03-30 14:49:39 +0200
commitf5fd02a33e9a53480c7c489d3210b144d24da24e (patch)
tree82de5b29b388ce7176ae37e14315521d0659d83f /arch/mips
parent0d34fb8e93ceba7b6dad0062dbb4a0813bacd75b (diff)
MIPS: Forward declare struct task_struct to avoid potencial warning.
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/smp-ops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/smp-ops.h b/arch/mips/include/asm/smp-ops.h
index 43c207e72a6..64ffc0290b8 100644
--- a/arch/mips/include/asm/smp-ops.h
+++ b/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);