diff options
author | afzal mohammed <afzal.mohd.ma@gmail.com> | 2020-03-27 21:39:01 +0530 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-03-29 21:03:41 +0200 |
commit | 82c849eb36fe6dcfa955b25c7aad71b5c1b4403c (patch) | |
tree | d2cbf2bea3e6705096e3a1b47d1f976f06ddd727 /arch/alpha/kernel/irq_impl.h | |
parent | 17e5888e4e180b45af7bafe7f3a86440d42717f3 (diff) | |
download | linux-82c849eb36fe6dcfa955b25c7aad71b5c1b4403c.tar.bz2 |
alpha: 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>
Acked-by: Matt Turner <mattst88@gmail.com>
Link: https://lkml.kernel.org/r/51f8ae7da9f47a23596388141933efa2bdef317b.1585320721.git.afzal.mohd.ma@gmail.com
Diffstat (limited to 'arch/alpha/kernel/irq_impl.h')
-rw-r--r-- | arch/alpha/kernel/irq_impl.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/alpha/kernel/irq_impl.h b/arch/alpha/kernel/irq_impl.h index 16f2b0276f3a..fbf21892e66d 100644 --- a/arch/alpha/kernel/irq_impl.h +++ b/arch/alpha/kernel/irq_impl.h @@ -21,14 +21,9 @@ extern void isa_no_iack_sc_device_interrupt(unsigned long); extern void srm_device_interrupt(unsigned long); extern void pyxis_device_interrupt(unsigned long); -extern struct irqaction timer_irqaction; -extern struct irqaction isa_cascade_irqaction; -extern struct irqaction timer_cascade_irqaction; -extern struct irqaction halt_switch_irqaction; - extern void init_srm_irqs(long, unsigned long); extern void init_pyxis_irqs(unsigned long); -extern void init_rtc_irq(void); +extern void init_rtc_irq(irq_handler_t handler); extern void common_init_isa_dma(void); |