Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Atsushi Nemoto and committed by
Ralf Baechle
40df3831 87d43dd4

+2 -4
+1
arch/mips/lib/dump_tlb.c
··· 10 10 #include <asm/mipsregs.h> 11 11 #include <asm/page.h> 12 12 #include <asm/pgtable.h> 13 + #include <asm/tlbdebug.h> 13 14 14 15 static inline const char *msk2str(unsigned int mask) 15 16 {
+1
arch/mips/lib/r3k_dump_tlb.c
··· 11 11 #include <asm/mipsregs.h> 12 12 #include <asm/page.h> 13 13 #include <asm/pgtable.h> 14 + #include <asm/tlbdebug.h> 14 15 15 16 extern int r3k_have_wired_reg; /* defined in tlb-r3k.c */ 16 17
-4
include/asm-mips/tlbdebug.h
··· 11 11 /* 12 12 * TLB debugging functions: 13 13 */ 14 - extern void dump_tlb(int first, int last); 15 14 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); 19 15 20 16 #endif /* __ASM_TLBDEBUG_H */