lkml.org 
[lkml]   [2014]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] MIPS: Remove a temporary hack for debugging cache flushes in SMTC configuration
On Thu, Nov 20, 2014 at 10:45:58PM +0100, Ralf Baechle wrote:

> So I'm more thinking of something like below.

And while we're at it, these were unused rsp. only used by other
unused macros.

Ralf

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

arch/mips/include/asm/r4kcache.h | 8 --------
1 file changed, 8 deletions(-)

diff --git a/arch/mips/include/asm/r4kcache.h b/arch/mips/include/asm/r4kcache.h
index cd6e0af..392b159 100644
--- a/arch/mips/include/asm/r4kcache.h
+++ b/arch/mips/include/asm/r4kcache.h
@@ -124,10 +124,6 @@ extern void mt_cflush_release(void);

#define __inv_dflush_prologue __dflush_prologue
#define __inv_dflush_epilogue __dflush_epilogue
-#define __sflush_prologue {
-#define __sflush_epilogue }
-#define __inv_sflush_prologue __sflush_prologue
-#define __inv_sflush_epilogue __sflush_epilogue

#else /* CONFIG_MIPS_MT */

@@ -137,10 +133,6 @@ extern void mt_cflush_release(void);
#define __dflush_epilogue }
#define __inv_dflush_prologue {
#define __inv_dflush_epilogue }
-#define __sflush_prologue {
-#define __sflush_epilogue }
-#define __inv_sflush_prologue {
-#define __inv_sflush_epilogue }

#endif /* CONFIG_MIPS_MT */


\
 
 \ /
  Last update: 2014-11-20 23:21    [W:0.033 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site