[PATCH] irq-flags: scsi: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: James Bottomley <James.Bottomley@steeleye.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
5d8c8a2e8e
commit
1d6f359a2e
@@ -731,7 +731,7 @@ static int register_pio_HBA(long base, struct get_conf *gc)
|
||||
return 0;
|
||||
|
||||
if (!reg_IRQ[gc->IRQ]) { /* Interrupt already registered ? */
|
||||
if (!request_irq(gc->IRQ, do_eata_pio_int_handler, SA_INTERRUPT, "EATA-PIO", sh)) {
|
||||
if (!request_irq(gc->IRQ, do_eata_pio_int_handler, IRQF_DISABLED, "EATA-PIO", sh)) {
|
||||
reg_IRQ[gc->IRQ]++;
|
||||
if (!gc->IRQ_TR)
|
||||
reg_IRQL[gc->IRQ] = 1; /* IRQ is edge triggered */
|
||||
@@ -965,7 +965,7 @@ static int eata_pio_detect(struct scsi_host_template *tpnt)
|
||||
|
||||
for (i = 0; i <= MAXIRQ; i++)
|
||||
if (reg_IRQ[i])
|
||||
request_irq(i, do_eata_pio_int_handler, SA_INTERRUPT, "EATA-PIO", NULL);
|
||||
request_irq(i, do_eata_pio_int_handler, IRQF_DISABLED, "EATA-PIO", NULL);
|
||||
|
||||
HBA_ptr = first_HBA;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user