aboutsummaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2008-03-02 16:37:48 -0600
committerRusty Russell <rusty@rustcorp.com.au>2008-03-17 22:58:13 +1100
commit27ebe308af7c14aed0711e25817c6a1235bd16ff (patch)
treedafd3caaa1591a60a7b79f7027c00bcae30f4a6e /drivers/block
parenta978b30af3bab0dd9af9350eeda25e76123fa28e (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')
0 files changed, 0 insertions, 0 deletions