linux/arch/mips/sgi-ip22
afzal mohammed ac8fd122e0 MIPS: 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().

remove_irq() has been replaced by free_irq() as well.

There were build error's during previous version, couple of which was
reported by kbuild test robot <lkp@intel.com> of which one was reported
by Thomas Bogendoerfer <tsbogend@alpha.franken.de> as well. There were a
few more issues including build errors, those also have been fixed.

[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: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2020-03-05 16:47:35 +01:00
..
ip22-berr.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
ip22-eisa.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
ip22-gio.c MIPS: ip22-gio: Make gio_match_device() static 2020-01-13 10:55:40 -08:00
ip22-hpc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip22-int.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
ip22-mc.c MIPS: SGI-IP22/28: Use PROM for memory detection 2019-10-09 14:55:57 -07:00
ip22-nvram.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip22-platform.c MIPS: SGI-IP22: provide missing dma_mask/coherent_dma_mask 2019-05-13 12:02:55 -07:00
ip22-reset.c mips: ip22/32: Convert timers to use timer_setup() 2017-11-02 15:50:36 -07:00
ip22-setup.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip22-time.c mips: Use the core irq stats function 2014-03-04 17:37:53 +01:00
ip28-berr.c MIPS: ip22: Drop addr_is_ram 2019-08-23 14:47:18 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Platform MIPS: ip22: Fix ip28 build for modern gcc 2017-01-25 02:51:11 +01:00