OSDN Git Service

parisc: Replace setup_irq() by request_irq()
authorafzal mohammed <afzal.mohd.ma@gmail.com>
Wed, 4 Mar 2020 00:50:24 +0000 (06:20 +0530)
committerHelge Deller <deller@gmx.de>
Sun, 5 Apr 2020 20:05:23 +0000 (22:05 +0200)
commit997ba6573685451c37005a5b74a4baa3c16b5231
tree214fc87349ce5cbbc6531cd41dbcada7518d4d3f
parentc48b07226bd41f4053aa2024c5e347183c04deb5
parisc: 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: Helge Deller <deller@gmx.de>
arch/parisc/kernel/irq.c
drivers/parisc/eisa.c