diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2011-11-28 11:11:28 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-12-07 17:01:45 -0500 |
commit | 3d18c98367eac23555ea4887c4f570423474eeaf (patch) | |
tree | 4f9e12003a5acf46c1aea74e7835b4e72814bf93 /arch/mips/include | |
parent | ab75dc02c151c9d2a2fd446334d740b097a3b9db (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')
-rw-r--r-- | arch/mips/include/asm/pgtable-32.h | 6 | ||||
-rw-r--r-- | arch/mips/include/asm/tlbmisc.h | 10 |
2 files changed, 10 insertions, 6 deletions
diff --git a/arch/mips/include/asm/pgtable-32.h b/arch/mips/include/asm/pgtable-32.h index 8a153d2fa62a..469390656c3f 100644 --- a/arch/mips/include/asm/pgtable-32.h +++ b/arch/mips/include/asm/pgtable-32.h | |||
@@ -19,12 +19,6 @@ | |||
19 | #include <asm-generic/pgtable-nopmd.h> | 19 | #include <asm-generic/pgtable-nopmd.h> |
20 | 20 | ||
21 | /* | 21 | /* |
22 | * - add_wired_entry() add a fixed TLB entry, and move wired register | ||
23 | */ | ||
24 | extern void add_wired_entry(unsigned long entrylo0, unsigned long entrylo1, | ||
25 | unsigned long entryhi, unsigned long pagemask); | ||
26 | |||
27 | /* | ||
28 | * - add_temporary_entry() add a temporary TLB entry. We use TLB entries | 22 | * - add_temporary_entry() add a temporary TLB entry. We use TLB entries |
29 | * starting at the top and working down. This is for populating the | 23 | * starting at the top and working down. This is for populating the |
30 | * TLB before trap_init() puts the TLB miss handler in place. It | 24 | * TLB before trap_init() puts the TLB miss handler in place. It |
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 @@ | |||
1 | #ifndef __ASM_TLBMISC_H | ||
2 | #define __ASM_TLBMISC_H | ||
3 | |||
4 | /* | ||
5 | * - add_wired_entry() add a fixed TLB entry, and move wired register | ||
6 | */ | ||
7 | extern void add_wired_entry(unsigned long entrylo0, unsigned long entrylo1, | ||
8 | unsigned long entryhi, unsigned long pagemask); | ||
9 | |||
10 | #endif /* __ASM_TLBMISC_H */ | ||