Skip to content

Commit

Permalink
[MIPS] Cleanup tlbdebug.h
Browse files Browse the repository at this point in the history
Also include tlbdebug.h in dump_tlb.c and r3k_dump_tlb.c.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Jul 12, 2007
1 parent 87d43dd commit 40df383
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions arch/mips/lib/dump_tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <asm/mipsregs.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/tlbdebug.h>

static inline const char *msk2str(unsigned int mask)
{
Expand Down
1 change: 1 addition & 0 deletions arch/mips/lib/r3k_dump_tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <asm/mipsregs.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/tlbdebug.h>

extern int r3k_have_wired_reg; /* defined in tlb-r3k.c */

Expand Down
4 changes: 0 additions & 4 deletions include/asm-mips/tlbdebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
/*
* TLB debugging functions:
*/
extern void dump_tlb(int first, int last);
extern void dump_tlb_all(void);
extern void dump_tlb_wired(void);
extern void dump_tlb_addr(unsigned long addr);
extern void dump_tlb_nonwired(void);

#endif /* __ASM_TLBDEBUG_H */

0 comments on commit 40df383

Please sign in to comment.