diff options
author | David Howells <dhowells@redhat.com> | 2011-03-18 16:54:30 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-03-18 16:54:30 +0000 |
commit | 7f386ac3272e057fbf51e5b5712fad1a80e77125 (patch) | |
tree | 2ddf1aff83c2b92f2aef82d4db069a1a355b47c0 /arch/mn10300/kernel/gdb-stub.c | |
parent | 792576b1c5a4da16700f1003b1c3fc1e22cd9e07 (diff) | |
download | op-kernel-dev-7f386ac3272e057fbf51e5b5712fad1a80e77125.zip op-kernel-dev-7f386ac3272e057fbf51e5b5712fad1a80e77125.tar.gz |
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/kernel/gdb-stub.c')
-rw-r--r-- | arch/mn10300/kernel/gdb-stub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mn10300/kernel/gdb-stub.c b/arch/mn10300/kernel/gdb-stub.c index a9c1e91..1e8f24f 100644 --- a/arch/mn10300/kernel/gdb-stub.c +++ b/arch/mn10300/kernel/gdb-stub.c @@ -133,7 +133,7 @@ #include <asm/system.h> #include <asm/gdb-stub.h> #include <asm/exceptions.h> -#include <asm/cacheflush.h> +#include <asm/debugger.h> #include <asm/serial-regs.h> #include <asm/busctl-regs.h> #include <unit/leds.h> @@ -1665,7 +1665,7 @@ done: * NB: We flush both caches, just to be sure... */ if (gdbstub_flush_caches) - gdbstub_purge_cache(); + debugger_local_cache_flushinv(); gdbstub_load_fpu(); mn10300_set_gdbleds(0); |