linux-mips
[Top] [All Lists]

Removal of unneeded cache routines for NEC 5432...

To: linux-mips@oss.sgi.com
Subject: Removal of unneeded cache routines for NEC 5432...
From: "Steven J. Hill" <sjhill@realitydiluted.com>
Date: Sat, 25 May 2002 08:57:36 -0500
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020520 Debian/1.0rc2-3
This patch removes to unused cache routines. Please apply.

-Steve
diff -urN -X cvs-exc.txt mipslinux-2.4.18-xfs/arch/mips/mm/c-r5432.c 
settop/arch/mips/mm/c-r5432.c
--- mipslinux-2.4.18-xfs/arch/mips/mm/c-r5432.c Fri Nov 30 07:28:06 2001
+++ settop/arch/mips/mm/c-r5432.c       Wed Jan 30 11:09:47 2002
@@ -42,34 +42,6 @@
 /* -------------------------------------------------------------------- */
 /* #include <asm/r4kcache.h> */
 
-static inline void flush_icache_line_indexed(unsigned long addr)
-{
-       __asm__ __volatile__(
-               ".set noreorder\n\t"
-               ".set mips3\n\t"
-               "cache %1, (%0)\n\t"
-               "cache %1, 1(%0)\n\t"
-               ".set mips0\n\t"
-               ".set reorder"
-               :
-               : "r" (addr),
-                 "i" (Index_Invalidate_I));
-}
-
-static inline void flush_dcache_line_indexed(unsigned long addr)
-{
-       __asm__ __volatile__(
-               ".set noreorder\n\t"
-               ".set mips3\n\t"
-               "cache %1, (%0)\n\t"
-               "cache %1, 1(%0)\n\t"
-               ".set mips0\n\t"
-               ".set reorder"
-               :
-               : "r" (addr),
-                 "i" (Index_Writeback_Inv_D));
-}
-
 static inline void flush_icache_line(unsigned long addr)
 {
        __asm__ __volatile__(
<Prev in Thread] Current Thread [Next in Thread>
  • Removal of unneeded cache routines for NEC 5432..., Steven J. Hill <=