summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_irq.c
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2015-02-11 05:31:13 +0100
committerRusty Russell <rusty@rustcorp.com.au>2015-02-11 05:33:14 +0100
commit5e05bf5833eb3dd97b6b6a52301d81e033714cb3 (patch)
tree09d60b2da7bc9ac8d7179ee18d100a48b9a126a4 /drivers/acpi/pci_irq.c
parentvirtio-mmio: Update the device to OASIS spec version (diff)
downloadlinux-5e05bf5833eb3dd97b6b6a52301d81e033714cb3.tar.xz
linux-5e05bf5833eb3dd97b6b6a52301d81e033714cb3.zip
virtio: Avoid possible kernel panic if DEBUG is enabled.
The virtqueue_add() calls START_USE() upon entry. The virtqueue_kick() is called if vq->num_added == (1 << 16) - 1 before calling END_USE(). The virtqueue_kick_prepare() called via virtqueue_kick() calls START_USE() upon entry, and will call panic() if DEBUG is enabled. Move this virtqueue_kick() call to after END_USE() call. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/acpi/pci_irq.c')
0 files changed, 0 insertions, 0 deletions