OSDN Git Service

s390/irq: replace setup_irq() by request_irq()
authorafzal mohammed <afzal.mohd.ma@gmail.com>
Wed, 4 Mar 2020 00:50:48 +0000 (06:20 +0530)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 11 Mar 2020 13:18:44 +0000 (14:18 +0100)
commit8719b6d29d2851fa84c4074bb2e5adc022911ab8
treed825a8fdbe5581a1496a9dadc5498d6eb14995bd
parentfb83510295d7a6cdeb46242515c3180f9adafc85
s390/irq: 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>
Message-Id: <20200304005049.5291-1-afzal.mohd.ma@gmail.com>
[heiko.carstens@de.ibm.com: replace pr_err with panic]
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/irq.c
drivers/s390/cio/airq.c
drivers/s390/cio/cio.c