microblaze: Clear i/dcache for sw breakpoints
authorMichal Simek <monstr@monstr.eu>
Fri, 12 Nov 2010 13:27:10 +0000 (14:27 +0100)
committerMichal Simek <monstr@monstr.eu>
Mon, 3 Jan 2011 09:16:56 +0000 (10:16 +0100)
commit17b931468729df6921981700bf18c75609c2f6af
tree0184e655f66fb84e0b558282116c710685598736
parent27cbe8d4d1012847029dd8d7af1d6a41c22ddec6
microblaze: Clear i/dcache for sw breakpoints

There is necessary to flush dcache and invalidate
icache for address where breakpoint (brki r16, 0x18)
was. The reason is that for some cases icache line
still keeps brki instruction and it is not updated
by origin instruction maintains by gdbserver.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/exceptions.c