Skip to content

Commit e74e259

Browse files
wildea01torvalds
authored andcommitted
alpha: irq: remove deprecated use of IRQF_DISABLED
Interrupt handlers are always invoked with interrupts disabled, so remove all uses of the deprecated IRQF_DISABLED flag. Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Michael Cree <mcree@orcon.net.nz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e20800f commit e74e259

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

arch/alpha/include/asm/floppy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#define fd_disable_irq() disable_irq(FLOPPY_IRQ)
2727
#define fd_cacheflush(addr,size) /* nothing */
2828
#define fd_request_irq() request_irq(FLOPPY_IRQ, floppy_interrupt,\
29-
IRQF_DISABLED, "floppy", NULL)
29+
0, "floppy", NULL)
3030
#define fd_free_irq() free_irq(FLOPPY_IRQ, NULL)
3131

3232
#ifdef CONFIG_PCI

arch/alpha/kernel/irq_alpha.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ process_mcheck_info(unsigned long vector, unsigned long la_ptr,
229229

230230
struct irqaction timer_irqaction = {
231231
.handler = timer_interrupt,
232-
.flags = IRQF_DISABLED,
233232
.name = "timer",
234233
};
235234

arch/alpha/kernel/sys_titan.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -280,15 +280,15 @@ titan_late_init(void)
280280
* all reported to the kernel as machine checks, so the handler
281281
* is a nop so it can be called to count the individual events.
282282
*/
283-
titan_request_irq(63+16, titan_intr_nop, IRQF_DISABLED,
283+
titan_request_irq(63+16, titan_intr_nop, 0,
284284
"CChip Error", NULL);
285-
titan_request_irq(62+16, titan_intr_nop, IRQF_DISABLED,
285+
titan_request_irq(62+16, titan_intr_nop, 0,
286286
"PChip 0 H_Error", NULL);
287-
titan_request_irq(61+16, titan_intr_nop, IRQF_DISABLED,
287+
titan_request_irq(61+16, titan_intr_nop, 0,
288288
"PChip 1 H_Error", NULL);
289-
titan_request_irq(60+16, titan_intr_nop, IRQF_DISABLED,
289+
titan_request_irq(60+16, titan_intr_nop, 0,
290290
"PChip 0 C_Error", NULL);
291-
titan_request_irq(59+16, titan_intr_nop, IRQF_DISABLED,
291+
titan_request_irq(59+16, titan_intr_nop, 0,
292292
"PChip 1 C_Error", NULL);
293293

294294
/*
@@ -348,9 +348,9 @@ privateer_init_pci(void)
348348
* Hook a couple of extra err interrupts that the
349349
* common titan code won't.
350350
*/
351-
titan_request_irq(53+16, titan_intr_nop, IRQF_DISABLED,
351+
titan_request_irq(53+16, titan_intr_nop, 0,
352352
"NMI", NULL);
353-
titan_request_irq(50+16, titan_intr_nop, IRQF_DISABLED,
353+
titan_request_irq(50+16, titan_intr_nop, 0,
354354
"Temperature Warning", NULL);
355355

356356
/*

0 commit comments

Comments
 (0)