]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Blackfin arch: fix bug - kernel build with write back policy fails to be booted up
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 28 Oct 2008 04:29:26 +0000 (12:29 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 28 Oct 2008 04:29:26 +0000 (12:29 +0800)
commit7f6b2e7b1ff70bc60cedc9a00b01c1fad5c21371
tree469443387222a98a2d3ffe94a494577bd83f3c9b
parent39e96c8835c36b6867b4e18698b06746972cdfcc
Blackfin arch: fix bug - kernel build with write back policy fails to be booted up

Make sure IFLUSH is not the last instruction in the hardware loop to avoid
infinite core stall.

The dcache/icache function that only gets used in writeback mode was putting
IFLUSH as the last instruction in the hardware loop ... we know from design
that this may often lead to inifite core stalling, so switch the FLUSH/IFLUSH
order.

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-common/cache.S