summaryrefslogtreecommitdiffstats
path: root/include/asm-mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-03-04 19:25:51 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-03-07 01:07:16 +0100
commitb3920590b589a1dbb41eb58ef0ed2699f136482a (patch)
treeb0a19ae7119462cb6c55a60d199886b487116ed2 /include/asm-mips
parent[MIPS] SMTC: <asm/mips_mt.h> must include <linux/cpumask.h> (diff)
downloadlinux-b3920590b589a1dbb41eb58ef0ed2699f136482a.tar.xz
linux-b3920590b589a1dbb41eb58ef0ed2699f136482a.zip
[MIPS] SMTC: Add fordward declarations for mm_struct and task_struct.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/smtc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-mips/smtc.h b/include/asm-mips/smtc.h
index e1941d1b8726..44dfa4adecf3 100644
--- a/include/asm-mips/smtc.h
+++ b/include/asm-mips/smtc.h
@@ -34,6 +34,9 @@ typedef long asiduse;
extern asiduse smtc_live_asid[MAX_SMTC_TLBS][MAX_SMTC_ASIDS];
+struct mm_struct;
+struct task_struct;
+
void smtc_get_new_mmu_context(struct mm_struct *mm, unsigned long cpu);
void smtc_flush_tlb_asid(unsigned long asid);