summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-03-04 18:25:51 +0000
committerRalf Baechle <ralf@linux-mips.org>2007-03-07 00:07:16 +0000
commitb3920590b589a1dbb41eb58ef0ed2699f136482a (patch)
treeb0a19ae7119462cb6c55a60d199886b487116ed2
parent32fac80be6df4a2a09f7093b7f51bb6bc3ebef97 (diff)
downloadlwn-b3920590b589a1dbb41eb58ef0ed2699f136482a.tar.gz
lwn-b3920590b589a1dbb41eb58ef0ed2699f136482a.zip
[MIPS] SMTC: Add fordward declarations for mm_struct and task_struct.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-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);