diff options
Diffstat (limited to 'kvm_coalesced_mmio.c')
-rw-r--r-- | kvm_coalesced_mmio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kvm_coalesced_mmio.c b/kvm_coalesced_mmio.c index 7c097e3..d231c2e 100644 --- a/kvm_coalesced_mmio.c +++ b/kvm_coalesced_mmio.c @@ -72,11 +72,8 @@ coalesced_mmio_write(struct kvm_io_device *this, gpa_t addr, ring->coalesced_mmio[ring->last].phys_addr = addr; ring->coalesced_mmio[ring->last].len = len; memcpy(ring->coalesced_mmio[ring->last].data, val, len); -#ifdef XXX + smp_wmb(); -#else - XXX_KVM_SYNC_PROBE; -#endif ring->last = (ring->last + 1) % KVM_COALESCED_MMIO_MAX; mutex_exit(&dev->lock); return (0); |