diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2008-03-02 16:37:48 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-03-17 22:58:13 +1100 |
commit | 27ebe308af7c14aed0711e25817c6a1235bd16ff (patch) | |
tree | dafd3caaa1591a60a7b79f7027c00bcae30f4a6e /drivers/block/virtio_blk.c | |
parent | a978b30af3bab0dd9af9350eeda25e76123fa28e (diff) |
virtio: Use spin_lock_irqsave/restore for virtio-pci
virtio-pci acquires its spin lock in an interrupt context so it's necessary
to use spin_lock_irqsave/restore variants. This patch fixes guest SMP when
using virtio devices in KVM.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/block/virtio_blk.c')
0 files changed, 0 insertions, 0 deletions