]> git.baikalelectronics.ru Git - kernel.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)
commiteea4da1eeffa68d0c782de5535278ecd922e456c
treebb6fadfbb27c607b4c99745844339f9f1e740940
parentd3624d0df3164a38620fd511129e2045af0607a6
[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