diff options
author | afzal mohammed <afzal.mohd.ma@gmail.com> | 2020-03-04 01:48:38 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-03-08 15:25:46 +0100 |
commit | 2ef1cb763d92f3e212005fcf5dcc713eaf42b257 (patch) | |
tree | 398a24a3ebdc14feced964b1180c66497249857f /arch/riscv/kernel/traps.c | |
parent | irqchip/renesas-intc-irqpin: Restore devm_ioremap() alignment (diff) | |
download | linux-2ef1cb763d92f3e212005fcf5dcc713eaf42b257.tar.xz linux-2ef1cb763d92f3e212005fcf5dcc713eaf42b257.zip |
irqchip: Replace setup_irq() by request_irq()
request_irq() is preferred over setup_irq(). Invocations of setup_irq()
occur after memory allocators are ready.
Per tglx[1], setup_irq() existed in olden days when allocators were not
ready by the time early interrupts were initialized.
Hence replace setup_irq() by request_irq().
[1] https://lkml.kernel.org/r/alpine.DEB.2.20.1710191609480.1971@nanos
Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200304004839.4729-1-afzal.mohd.ma@gmail.com
Diffstat (limited to 'arch/riscv/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions