summaryrefslogtreecommitdiff
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorBharat Bhushan <r65777@freescale.com>2011-10-13 15:17:08 +0530
committerAvi Kivity <avi@redhat.com>2012-03-05 14:52:24 +0200
commitf9208427f72e6cb52c71767af3bf8c14c43c27ac (patch)
tree051bd94371fa20d83848237a9a89ff6670a4b466 /lib/flex_array.c
parent95325e6b190bb4ec3383aa1241d10675057bff45 (diff)
PPC: Fix race in mtmsr paravirt implementation
The current implementation of mtmsr and mtmsrd are racy in that it does: * check (int_pending == 0) ---> host sets int_pending = 1 <--- * write shared page * done while instead we should check for int_pending after the shared page is written. Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions