diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2019-04-04 09:45:12 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-04-05 14:37:56 +0200 |
commit | e8458e7afa855317b14915d7b86ab3caceea7eb6 (patch) | |
tree | 45c8c14cff557df065f8d0ee072e7e73603262f0 /kernel/irq/internals.h | |
parent | irqchip/irq-ls1x: Missing error code in ls1x_intc_of_init() (diff) | |
download | linux-e8458e7afa855317b14915d7b86ab3caceea7eb6.tar.xz linux-e8458e7afa855317b14915d7b86ab3caceea7eb6.zip |
genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
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
Diffstat (limited to 'kernel/irq/internals.h')
0 files changed, 0 insertions, 0 deletions