diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2019-04-04 10:45:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-17 09:38:52 +0300 |
commit | 8b4f68b474488f93f405ba681515bee49cbe99f3 (patch) | |
tree | ee044026ab5597b584c7ace3569a6853ead88fd6 /drivers/virtio/virtio_ring.c | |
parent | cd5b06a939970c46ee74f2fee84b296134397e2b (diff) | |
download | linux-8b4f68b474488f93f405ba681515bee49cbe99f3.tar.xz |
genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
commit e8458e7afa855317b14915d7b86ab3caceea7eb6 upstream.
When CONFIG_SPARSE_IRQ is disable, the request_mutex in struct irq_desc
is not initialized which causes malfunction.
Fixes: 9114014cf4e6 ("genirq: Add mutex to irq desc to serialize request/free_irq()")
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: <linux-arm-kernel@lists.infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20190404074512.145533-1-wangkefeng.wang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/virtio/virtio_ring.c')
0 files changed, 0 insertions, 0 deletions