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>
This commit is contained in:
Ralf Baechle
2011-11-28 16:11:28 +00:00
parent ab75dc02c1
commit 3d18c98367
7 changed files with 15 additions and 6 deletions

View File

@ -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 */