]> git.baikalelectronics.ru Git - kernel.git/commit
microblaze: Replace setup_irq() by request_irq()
authorafzal mohammed <afzal.mohd.ma@gmail.com>
Wed, 4 Mar 2020 00:49:59 +0000 (06:19 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 9 Mar 2020 13:36:23 +0000 (14:36 +0100)
commitb160141034b0e4ced261cbd5766e7f8f41edb2fd
tree89b24d09f3f5073dc811409492f439cfe5987b43
parent4c14a07c5a4ea58723735b54d87678db196836da
microblaze: 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: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/kernel/timer.c