xtensa: replace setup_irq() by request_irq()
authorafzal mohammed <afzal.mohd.ma@gmail.com>
Wed, 4 Mar 2020 00:41:11 +0000 (06:11 +0530)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 4 Mar 2020 02:40:26 +0000 (18:40 -0800)
commit98060484e2328a4d29b62eb42ef31219a4629587
treef0ae7c518d95a8eb18c7b7b40a849c99b3dd1200
parent98d54f81e36ba3bf92172791eba5ca5bd813989b
xtensa: 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: <20200304004112.3848-1-afzal.mohd.ma@gmail.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/smp.c
arch/xtensa/kernel/time.c