Skip to content

Commit 44377f6

Browse files
KAGA-KOKOtorvalds
authored andcommitted
alpha: remove obsolete hw_interrupt_type
The defines and typedefs (hw_interrupt_type, no_irq_type, irq_desc_t) have been kept around for migration reasons. After more than two years it's time to remove them finally. This patch cleans up one of the remaining users. When all such patches hit mainline we can remove the defines and typedefs finally. Impact: cleanup Convert the last remaining users to struct irq_chip and remove the define. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Richard Henderson <rth@twiddle.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent ee993b1 commit 44377f6

20 files changed

Lines changed: 27 additions & 27 deletions

‎arch/alpha/kernel/irq_alpha.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ struct irqaction timer_irqaction = {
227227
.name = "timer",
228228
};
229229

230-
static struct hw_interrupt_type rtc_irq_type = {
230+
static struct irq_chip rtc_irq_type = {
231231
.typename = "RTC",
232232
.startup = rtc_startup,
233233
.shutdown = rtc_enable_disable,

‎arch/alpha/kernel/irq_i8259.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ i8259a_end_irq(unsigned int irq)
8383
i8259a_enable_irq(irq);
8484
}
8585

86-
struct hw_interrupt_type i8259a_irq_type = {
86+
struct irq_chip i8259a_irq_type = {
8787
.typename = "XT-PIC",
8888
.startup = i8259a_startup_irq,
8989
.shutdown = i8259a_disable_irq,

‎arch/alpha/kernel/irq_impl.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ extern void i8259a_disable_irq(unsigned int);
3636
extern void i8259a_mask_and_ack_irq(unsigned int);
3737
extern unsigned int i8259a_startup_irq(unsigned int);
3838
extern void i8259a_end_irq(unsigned int);
39-
extern struct hw_interrupt_type i8259a_irq_type;
39+
extern struct irq_chip i8259a_irq_type;
4040
extern void init_i8259a_irqs(void);
4141

4242
extern void handle_irq(int irq);

‎arch/alpha/kernel/irq_pyxis.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pyxis_mask_and_ack_irq(unsigned int irq)
7070
*(vulp)PYXIS_INT_MASK;
7171
}
7272

73-
static struct hw_interrupt_type pyxis_irq_type = {
73+
static struct irq_chip pyxis_irq_type = {
7474
.typename = "PYXIS",
7575
.startup = pyxis_startup_irq,
7676
.shutdown = pyxis_disable_irq,

‎arch/alpha/kernel/irq_srm.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ srm_end_irq(unsigned int irq)
4848
}
4949

5050
/* Handle interrupts from the SRM, assuming no additional weirdness. */
51-
static struct hw_interrupt_type srm_irq_type = {
51+
static struct irq_chip srm_irq_type = {
5252
.typename = "SRM",
5353
.startup = srm_startup_irq,
5454
.shutdown = srm_disable_irq,

‎arch/alpha/kernel/sys_alcor.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ alcor_end_irq(unsigned int irq)
8989
alcor_enable_irq(irq);
9090
}
9191

92-
static struct hw_interrupt_type alcor_irq_type = {
92+
static struct irq_chip alcor_irq_type = {
9393
.typename = "ALCOR",
9494
.startup = alcor_startup_irq,
9595
.shutdown = alcor_disable_irq,

‎arch/alpha/kernel/sys_cabriolet.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ cabriolet_end_irq(unsigned int irq)
7171
cabriolet_enable_irq(irq);
7272
}
7373

74-
static struct hw_interrupt_type cabriolet_irq_type = {
74+
static struct irq_chip cabriolet_irq_type = {
7575
.typename = "CABRIOLET",
7676
.startup = cabriolet_startup_irq,
7777
.shutdown = cabriolet_disable_irq,

‎arch/alpha/kernel/sys_dp264.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ clipper_set_affinity(unsigned int irq, const struct cpumask *affinity)
198198
return 0;
199199
}
200200

201-
static struct hw_interrupt_type dp264_irq_type = {
201+
static struct irq_chip dp264_irq_type = {
202202
.typename = "DP264",
203203
.startup = dp264_startup_irq,
204204
.shutdown = dp264_disable_irq,
@@ -209,7 +209,7 @@ static struct hw_interrupt_type dp264_irq_type = {
209209
.set_affinity = dp264_set_affinity,
210210
};
211211

212-
static struct hw_interrupt_type clipper_irq_type = {
212+
static struct irq_chip clipper_irq_type = {
213213
.typename = "CLIPPER",
214214
.startup = clipper_startup_irq,
215215
.shutdown = clipper_disable_irq,
@@ -298,7 +298,7 @@ clipper_srm_device_interrupt(unsigned long vector)
298298
}
299299

300300
static void __init
301-
init_tsunami_irqs(struct hw_interrupt_type * ops, int imin, int imax)
301+
init_tsunami_irqs(struct irq_chip * ops, int imin, int imax)
302302
{
303303
long i;
304304
for (i = imin; i <= imax; ++i) {

‎arch/alpha/kernel/sys_eb64p.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ eb64p_end_irq(unsigned int irq)
6969
eb64p_enable_irq(irq);
7070
}
7171

72-
static struct hw_interrupt_type eb64p_irq_type = {
72+
static struct irq_chip eb64p_irq_type = {
7373
.typename = "EB64P",
7474
.startup = eb64p_startup_irq,
7575
.shutdown = eb64p_disable_irq,

‎arch/alpha/kernel/sys_eiger.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ eiger_end_irq(unsigned int irq)
8080
eiger_enable_irq(irq);
8181
}
8282

83-
static struct hw_interrupt_type eiger_irq_type = {
83+
static struct irq_chip eiger_irq_type = {
8484
.typename = "EIGER",
8585
.startup = eiger_startup_irq,
8686
.shutdown = eiger_disable_irq,

0 commit comments

Comments
 (0)