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 Link: https://lore.kernel.org/r/20200327124406.4123-1-afzal.mohd.ma@gmail.com Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> |
||
|---|---|---|
| .. | ||
| include/mach | ||
| generic.h | ||
| headsmp.S | ||
| hotplug.c | ||
| Kconfig | ||
| Makefile | ||
| pl080.c | ||
| pl080.h | ||
| platsmp.c | ||
| restart.c | ||
| spear3xx.c | ||
| spear6xx.c | ||
| spear13xx.c | ||
| spear300.c | ||
| spear310.c | ||
| spear320.c | ||
| spear1310.c | ||
| spear1340.c | ||
| time.c | ||