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

block: hd: remove deprecated IRQF_DISABLED

This patch removes the use of the IRQF_DISABLED flag
from drivers/block/hd.c

It's a NOOP since 2.6.35 and it will be removed one day.

This also removes a related comment which is obsolete too.

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: Jens Axboe <axboe@fb.com>

authored by

Michael Opdenacker and committed by
Jens Axboe
fc2021fb e9f05b4c

+1 -11
+1 -11
drivers/block/hd.c
··· 694 694 .getgeo = hd_getgeo, 695 695 }; 696 696 697 - /* 698 - * This is the hard disk IRQ description. The IRQF_DISABLED in sa_flags 699 - * means we run the IRQ-handler with interrupts disabled: this is bad for 700 - * interrupt latency, but anything else has led to problems on some 701 - * machines. 702 - * 703 - * We enable interrupts in some of the routines after making sure it's 704 - * safe. 705 - */ 706 - 707 697 static int __init hd_init(void) 708 698 { 709 699 int drive; ··· 751 761 p->cyl, p->head, p->sect); 752 762 } 753 763 754 - if (request_irq(HD_IRQ, hd_interrupt, IRQF_DISABLED, "hd", NULL)) { 764 + if (request_irq(HD_IRQ, hd_interrupt, 0, "hd", NULL)) { 755 765 printk("hd: unable to get IRQ%d for the hard disk driver\n", 756 766 HD_IRQ); 757 767 goto out1;