diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-03-25 09:41:09 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-03-30 08:49:39 -0400 |
commit | f5fd02a33e9a53480c7c489d3210b144d24da24e (patch) | |
tree | 82de5b29b388ce7176ae37e14315521d0659d83f /arch/mips | |
parent | 0d34fb8e93ceba7b6dad0062dbb4a0813bacd75b (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.h | 2 |
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 @@ | |||
15 | 15 | ||
16 | #include <linux/cpumask.h> | 16 | #include <linux/cpumask.h> |
17 | 17 | ||
18 | struct task_struct; | ||
19 | |||
18 | struct plat_smp_ops { | 20 | struct plat_smp_ops { |
19 | void (*send_ipi_single)(int cpu, unsigned int action); | 21 | void (*send_ipi_single)(int cpu, unsigned int action); |
20 | void (*send_ipi_mask)(cpumask_t mask, unsigned int action); | 22 | void (*send_ipi_mask)(cpumask_t mask, unsigned int action); |