Re: [PATCH] MIPS: Remove a temporary hack for debugging cache flushes in SMTC configuration

From: Ralf Baechle
Date: Thu Nov 20 2014 - 16:54:28 EST


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@xxxxxxxxxxxxxx>

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 */

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/