]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sh: Make kgdb i-cache flushing less inept.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 3 Oct 2007 08:21:10 +0000 (17:21 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 3 Oct 2007 08:21:10 +0000 (17:21 +0900)
commit01bd5e9ef2ead97059a1930de43942bdfc9e8755
tree1b2c639a8c2239380929c7f7fe233fdfeecd07bd
parenta90f354709b372c8dcabe3cd6315a83da5927573
sh: Make kgdb i-cache flushing less inept.

kgdb had its own ranged I-cache flushing routine that attempted to
duplicate the flush_icache_range() functionality, but managed to do
an explicit D-cache writeback & invalidate twice on SH-4. This is
a no-op for SH-3, and the flush_icache_range() semantics already do
what kgdb was feebly attempting to do already, so just move over to
that and kill off the wrapper.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/kgdb_stub.c
include/asm-sh/kgdb.h