diff options
author | David Howells <dhowells@redhat.com> | 2011-03-18 12:54:30 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-03-18 12:54:30 -0400 |
commit | 7f386ac3272e057fbf51e5b5712fad1a80e77125 (patch) | |
tree | 2ddf1aff83c2b92f2aef82d4db069a1a355b47c0 /arch/mn10300/include | |
parent | 792576b1c5a4da16700f1003b1c3fc1e22cd9e07 (diff) |
MN10300: Create general kernel debugger cache flushing
Create general kernel debugger cache flushing for MN10300 and get rid of the
old stuff that gdbstub was using.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/include')
-rw-r--r-- | arch/mn10300/include/asm/debugger.h | 8 |
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 @@ | |||
14 | 14 | ||
15 | #if defined(CONFIG_KERNEL_DEBUGGER) | 15 | #if defined(CONFIG_KERNEL_DEBUGGER) |
16 | 16 | ||
17 | #ifndef CONFIG_MN10300_DEBUGGER_CACHE_NO_FLUSH | ||
18 | extern void debugger_local_cache_flushinv(void); | ||
19 | extern void debugger_local_cache_flushinv_one(u8 *); | ||
20 | #else | ||
21 | static inline void debugger_local_cache_flushinv(void) {} | ||
22 | static inline void debugger_local_cache_flushinv_one(u8 *addr) {} | ||
23 | #endif | ||
24 | |||
17 | #else /* CONFIG_KERNEL_DEBUGGER */ | 25 | #else /* CONFIG_KERNEL_DEBUGGER */ |
18 | 26 | ||
19 | #endif /* CONFIG_KERNEL_DEBUGGER */ | 27 | #endif /* CONFIG_KERNEL_DEBUGGER */ |