summaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorRalf Baechle2009-03-25 14:41:09 +0100
committerRalf Baechle2009-03-30 14:49:39 +0200
commitf5fd02a33e9a53480c7c489d3210b144d24da24e (patch)
tree82de5b29b388ce7176ae37e14315521d0659d83f /arch/mips/include
parentMerge branch 'bzip2-lzma-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadkernel-qcow2-linux-f5fd02a33e9a53480c7c489d3210b144d24da24e.tar.gz
kernel-qcow2-linux-f5fd02a33e9a53480c7c489d3210b144d24da24e.tar.xz
kernel-qcow2-linux-f5fd02a33e9a53480c7c489d3210b144d24da24e.zip
MIPS: Forward declare struct task_struct to avoid potencial warning.
Diffstat (limited to 'arch/mips/include')
-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 43c207e72a63..64ffc0290b84 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);