OpenCloudOS-Kernel/arch/mips/sgi-ip32
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
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Platform MIPS: IP32: Migrate to new platform makefile style. 2010-08-05 13:25:50 +01:00
crime.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00
ip32-berr.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
ip32-dma.c MIPS: IP32: use generic dma noncoherent ops 2018-06-24 09:27:27 -07:00
ip32-irq.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
ip32-memory.c
ip32-platform.c rtc: ds1685: add indirect access method and remove plat_read/plat_write 2019-10-16 10:39:00 +02:00
ip32-reset.c mips: ip22/32: Convert timers to use timer_setup() 2017-11-02 15:50:36 -07:00
ip32-setup.c