Wu Zhangjin b846c10da5 MIPS: Lemote 2F: Ensure atomic execution of _rdmsr and _wrmsr
On Lemote 2F CS5536 MSRs are accessed through a index / data register pair.
The access sequence must be protected by a spinlock to be atomic.

Without this rebooting in fs2f_reboot() may fail.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/1058/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-04-12 17:26:12 +01:00
..
2008-10-27 16:18:26 +00:00
2009-12-17 01:57:35 +00:00
2008-06-05 18:13:15 +01:00
2010-02-27 12:53:30 +01:00
2008-07-30 21:54:38 +01:00
2008-07-30 21:54:38 +01:00
2010-02-27 12:53:14 +01:00
2008-01-07 15:32:03 +00:00