Re: [PATCH 16/18] clocksource: Replace setup_irq() by request_irq()
From: Daniel Lezcano
Date: Thu Feb 20 2020 - 06:13:50 EST
On 12/02/2020 09:05, afzal mohammed wrote:
> request_irq() is preferred over setup_irq(). Existing callers of
> setup_irq() reached mostly via 'init_IRQ()' & 'time_init()', while
> memory allocators are ready by 'mm_init()'.
> Per tglx, 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().
> Seldom remove_irq() usage has been observed coupled with setup_irq(),
> wherever that has been found, it too has been replaced by free_irq().
>  https://lkml.kernel.org/r/alpine.DEB.2.20.1710191609480.1971@nanos
> Signed-off-by: afzal mohammed <afzal.mohd.ma@xxxxxxxxx>
Nice, thanks for this cleanup
Acked-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
[ ... ]
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |