Marc Zyngier 15bbc1b28f ARM: KVM: fix unbalanced get_cpu() in access_dcsw
In the very unlikely event where a guest would be foolish enough to
*read* from a write-only cache maintainance register, we end up
with preemption disabled, due to a misplaced get_cpu().

Just move the "is_write" test outside of the critical section.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-04-17 12:51:32 -07:00
..
2013-04-11 16:55:29 +02:00
2013-03-18 08:17:14 -07:00
2013-02-28 20:09:24 -08:00
2013-02-21 14:58:40 -08:00
2013-02-21 14:58:40 -08:00
2013-02-21 15:27:22 -08:00
2013-02-21 14:58:40 -08:00
2013-02-28 20:00:40 -08:00
2013-02-21 15:40:16 -08:00