diff options
author | Marc Zyngier <[email protected]> | 2013-04-17 12:09:09 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-04-17 12:51:32 -0700 |
commit | 15bbc1b28ff65767922f78c266821cc138b90a47 (patch) | |
tree | 419287be95672919211746e6657be7f56c19ab06 /lib/memory-notifier-error-inject.c | |
parent | fca83168aae6fa0c36a923ef99311587ad5b54f2 (diff) |
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 <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions