kgdb: always use icache flush for sw breakpoints
authorJason Wessel <jason.wessel@windriver.com>
Tue, 1 Apr 2008 21:55:28 +0000 (16:55 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 18:05:43 +0000 (20:05 +0200)
commit1a9a3e76dde191f82f7a8a66059dcbb4a9f63ff3
treed1bfaca84bf03dc79caf70747f7c289558e3c7e9
parent56fb70932964927597ce30bbd820471633c72adc
kgdb: always use icache flush for sw breakpoints

On the ppc 4xx architecture the instruction cache must be flushed as
well as the data cache.  This patch just makes it generic for all
architectures where CACHE_FLUSH_IS_SAFE is set to 1.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/kgdb.c