summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/tlbmisc.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2011-11-28 16:11:28 +0000
committerRalf Baechle <ralf@linux-mips.org>2011-12-07 22:01:45 +0000
commit3d18c98367eac23555ea4887c4f570423474eeaf (patch)
tree4f9e12003a5acf46c1aea74e7835b4e72814bf93 /arch/mips/include/asm/tlbmisc.h
parentab75dc02c151c9d2a2fd446334d740b097a3b9db (diff)
MIPS: Fix Jazz 64-bit build error.
Move add_wired_entry to its own header file from where it will be always included. Patch up other users of add_wired_entry to also include the header as needed. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/tlbmisc.h')
-rw-r--r--arch/mips/include/asm/tlbmisc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/mips/include/asm/tlbmisc.h b/arch/mips/include/asm/tlbmisc.h
new file mode 100644
index 000000000000..3a452282cba0
--- /dev/null
+++ b/arch/mips/include/asm/tlbmisc.h
@@ -0,0 +1,10 @@
+#ifndef __ASM_TLBMISC_H
+#define __ASM_TLBMISC_H
+
+/*
+ * - add_wired_entry() add a fixed TLB entry, and move wired register
+ */
+extern void add_wired_entry(unsigned long entrylo0, unsigned long entrylo1,
+ unsigned long entryhi, unsigned long pagemask);
+
+#endif /* __ASM_TLBMISC_H */