summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2008-03-03 01:37:48 +0300
committerRusty Russell <rusty@rustcorp.com.au>2008-03-17 14:58:13 +0300
commit27ebe308af7c14aed0711e25817c6a1235bd16ff (patch)
treedafd3caaa1591a60a7b79f7027c00bcae30f4a6e /drivers/net
parenta978b30af3bab0dd9af9350eeda25e76123fa28e (diff)
downloadlinux-27ebe308af7c14aed0711e25817c6a1235bd16ff.tar.xz
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/net')
0 files changed, 0 insertions, 0 deletions