treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / alpha / kernel / irq_impl.h
blob16f2b0276f3a9f7b8b7b8c23df03a8fc65fe9925
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * linux/arch/alpha/kernel/irq_impl.h
5 * Copyright (C) 1995 Linus Torvalds
6 * Copyright (C) 1998, 2000 Richard Henderson
8 * This file contains declarations and inline functions for interfacing
9 * with the IRQ handling routines in irq.c.
12 #include <linux/interrupt.h>
13 #include <linux/irq.h>
14 #include <linux/profile.h>
17 #define RTC_IRQ 8
19 extern void isa_device_interrupt(unsigned long);
20 extern void isa_no_iack_sc_device_interrupt(unsigned long);
21 extern void srm_device_interrupt(unsigned long);
22 extern void pyxis_device_interrupt(unsigned long);
24 extern struct irqaction timer_irqaction;
25 extern struct irqaction isa_cascade_irqaction;
26 extern struct irqaction timer_cascade_irqaction;
27 extern struct irqaction halt_switch_irqaction;
29 extern void init_srm_irqs(long, unsigned long);
30 extern void init_pyxis_irqs(unsigned long);
31 extern void init_rtc_irq(void);
33 extern void common_init_isa_dma(void);
35 extern void i8259a_enable_irq(struct irq_data *d);
36 extern void i8259a_disable_irq(struct irq_data *d);
37 extern void i8259a_mask_and_ack_irq(struct irq_data *d);
38 extern struct irq_chip i8259a_irq_type;
39 extern void init_i8259a_irqs(void);
41 extern void handle_irq(int irq);