]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MIPS] Fix potential latency problem due to non-atomic cpu_wait.
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sun, 11 Nov 2007 17:05:18 +0000 (02:05 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Sep 2008 12:52:57 +0000 (14:52 +0200)
commitc65a5480ff29198c241f11d39d9e34ab22c72c69
treebb6fadfbb27c607b4c99745844339f9f1e740940
parent6657fe0a0281e06ff46eb42bc18ecb68d8b14b27
[MIPS] Fix potential latency problem due to non-atomic cpu_wait.

If an interrupt happened between checking of NEED_RESCHED and WAIT
instruction, adjust EPC to restart from checking of NEED_RESCHED.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-probe.c
arch/mips/kernel/genex.S
arch/mips/kernel/traps.c