* Removal of unneeded cache routines for NEC 5432...
@ 2002-05-25 13:57 Steven J. Hill
0 siblings, 0 replies; only message in thread
From: Steven J. Hill @ 2002-05-25 13:57 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 67 bytes --]
This patch removes to unused cache routines. Please apply.
-Steve
[-- Attachment #2: mips-5432remove.diff --]
[-- Type: text/plain, Size: 1015 bytes --]
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__(
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-25 13:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-25 13:57 Removal of unneeded cache routines for NEC 5432 Steven J. Hill
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.