]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9462d0bfe3da1bbfd3aa6951f6e9967f9dae5236
treed1bfaca84bf03dc79caf70747f7c289558e3c7e9
parent224f03a228f88daec2d25e7ee18dc891a389e7ba
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