aboutsummaryrefslogtreecommitdiff
path: root/arch/mn10300/include/asm/debugger.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/include/asm/debugger.h')
-rw-r--r--arch/mn10300/include/asm/debugger.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mn10300/include/asm/debugger.h b/arch/mn10300/include/asm/debugger.h
index 4816f0dc28b5..4517f839a999 100644
--- a/arch/mn10300/include/asm/debugger.h
+++ b/arch/mn10300/include/asm/debugger.h
@@ -14,6 +14,14 @@
#if defined(CONFIG_KERNEL_DEBUGGER)
+#ifndef CONFIG_MN10300_DEBUGGER_CACHE_NO_FLUSH
+extern void debugger_local_cache_flushinv(void);
+extern void debugger_local_cache_flushinv_one(u8 *);
+#else
+static inline void debugger_local_cache_flushinv(void) {}
+static inline void debugger_local_cache_flushinv_one(u8 *addr) {}
+#endif
+
#else /* CONFIG_KERNEL_DEBUGGER */
#endif /* CONFIG_KERNEL_DEBUGGER */