]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Replace setup_irq() by request_irq()
authorafzal mohammed <afzal.mohd.ma@gmail.com>
Fri, 27 Mar 2020 16:10:24 +0000 (21:40 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 29 Mar 2020 19:03:43 +0000 (21:03 +0200)
commitcd971d4d5d78628ac8091fdb5f55ea78d8be637f
treeb10f51513e5d58ed6fffbf086ed5d089c6989c7b
parent84665240c5488849fa5799f134934f9f8903af7d
sh: Replace setup_irq() by request_irq()

request_irq() is preferred over setup_irq(). Invocations of setup_irq()
occur after memory allocators are ready.

setup_irq() was required in older kernels as the memory allocator was not
available during early boot.

Hence replace setup_irq() by request_irq().

Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/b060312689820559121ee0a6456bbc1202fb7ee5.1585320721.git.afzal.mohd.ma@gmail.com
arch/sh/boards/mach-cayman/irq.c
arch/sh/drivers/dma/dma-pvr2.c