[MIPS] Cleanup tlbdebug.h
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 11 Jul 2007 15:51:00 +0000 (00:51 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 12 Jul 2007 16:41:11 +0000 (17:41 +0100)
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>
arch/mips/lib/dump_tlb.c
arch/mips/lib/r3k_dump_tlb.c
include/asm-mips/tlbdebug.h

index 1a4db7dc77cb2eaf5effb41e38b159a4da52532c..465ff0ec85b9316d151cca44786a92f0b41c85d7 100644 (file)
@@ -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)
 {
index 52f87795ecc3db3e2f50d448bc92a43738f644c0..9cee907975ae0f2f305e157d48a5e8c4e5f92669 100644 (file)
@@ -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 */
 
index fff7a73e22d0f666387097a336bbd6ef1cb26bae..bb8f5c29c3d9f9a5e0c72c4497993fec46fcfae2 100644 (file)
 /*
  * 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 */