Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Will Deacon and committed by
Linus Torvalds
e74e2592 e20800fd

+8 -9
+1 -1
arch/alpha/include/asm/floppy.h
··· 26 26 #define fd_disable_irq() disable_irq(FLOPPY_IRQ) 27 27 #define fd_cacheflush(addr,size) /* nothing */ 28 28 #define fd_request_irq() request_irq(FLOPPY_IRQ, floppy_interrupt,\ 29 - IRQF_DISABLED, "floppy", NULL) 29 + 0, "floppy", NULL) 30 30 #define fd_free_irq() free_irq(FLOPPY_IRQ, NULL) 31 31 32 32 #ifdef CONFIG_PCI
-1
arch/alpha/kernel/irq_alpha.c
··· 229 229 230 230 struct irqaction timer_irqaction = { 231 231 .handler = timer_interrupt, 232 - .flags = IRQF_DISABLED, 233 232 .name = "timer", 234 233 }; 235 234
+7 -7
arch/alpha/kernel/sys_titan.c
··· 280 280 * all reported to the kernel as machine checks, so the handler 281 281 * is a nop so it can be called to count the individual events. 282 282 */ 283 - titan_request_irq(63+16, titan_intr_nop, IRQF_DISABLED, 283 + titan_request_irq(63+16, titan_intr_nop, 0, 284 284 "CChip Error", NULL); 285 - titan_request_irq(62+16, titan_intr_nop, IRQF_DISABLED, 285 + titan_request_irq(62+16, titan_intr_nop, 0, 286 286 "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, 288 288 "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, 290 290 "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, 292 292 "PChip 1 C_Error", NULL); 293 293 294 294 /* ··· 348 348 * Hook a couple of extra err interrupts that the 349 349 * common titan code won't. 350 350 */ 351 - titan_request_irq(53+16, titan_intr_nop, IRQF_DISABLED, 351 + titan_request_irq(53+16, titan_intr_nop, 0, 352 352 "NMI", NULL); 353 - titan_request_irq(50+16, titan_intr_nop, IRQF_DISABLED, 353 + titan_request_irq(50+16, titan_intr_nop, 0, 354 354 "Temperature Warning", NULL); 355 355 356 356 /*