summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-03-25 13:41:09 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2009-03-30 12:49:39 (GMT)
commitf5fd02a33e9a53480c7c489d3210b144d24da24e (patch)
tree82de5b29b388ce7176ae37e14315521d0659d83f /arch/mips/include/asm
parent0d34fb8e93ceba7b6dad0062dbb4a0813bacd75b (diff)
downloadlinux-f5fd02a33e9a53480c7c489d3210b144d24da24e.tar.xz
MIPS: Forward declare struct task_struct to avoid potencial warning.
Diffstat (limited to 'arch/mips/include/asm')
-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 43c207e7..64ffc02 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);