[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)
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>

No differences found