Skip to content

Commit 40df383

Browse files
atsushi-nemotoralfbaechle
authored andcommitted
[MIPS] Cleanup tlbdebug.h
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>
1 parent 87d43dd commit 40df383

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎arch/mips/lib/dump_tlb.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <asm/mipsregs.h>
1111
#include <asm/page.h>
1212
#include <asm/pgtable.h>
13+
#include <asm/tlbdebug.h>
1314

1415
static inline const char *msk2str(unsigned int mask)
1516
{

‎arch/mips/lib/r3k_dump_tlb.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <asm/mipsregs.h>
1212
#include <asm/page.h>
1313
#include <asm/pgtable.h>
14+
#include <asm/tlbdebug.h>
1415

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

‎include/asm-mips/tlbdebug.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
/*
1212
* TLB debugging functions:
1313
*/
14-
extern void dump_tlb(int first, int last);
1514
extern void dump_tlb_all(void);
16-
extern void dump_tlb_wired(void);
17-
extern void dump_tlb_addr(unsigned long addr);
18-
extern void dump_tlb_nonwired(void);
1915

2016
#endif /* __ASM_TLBDEBUG_H */

0 commit comments

Comments
 (0)