drivers/cdrom/gdrom.c: remove deprecated IRQF_DISABLED
Remove the IRQF_DISABLED flag from drivers/cdrom/gdrom.c. It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Родитель
ca6673b02e
Коммит
644ff181da
|
@ -561,11 +561,11 @@ static int gdrom_set_interrupt_handlers(void)
|
|||
int err;
|
||||
|
||||
err = request_irq(HW_EVENT_GDROM_CMD, gdrom_command_interrupt,
|
||||
IRQF_DISABLED, "gdrom_command", &gd);
|
||||
0, "gdrom_command", &gd);
|
||||
if (err)
|
||||
return err;
|
||||
err = request_irq(HW_EVENT_GDROM_DMA, gdrom_dma_interrupt,
|
||||
IRQF_DISABLED, "gdrom_dma", &gd);
|
||||
0, "gdrom_dma", &gd);
|
||||
if (err)
|
||||
free_irq(HW_EVENT_GDROM_CMD, &gd);
|
||||
return err;
|
||||
|
|
Загрузка…
Ссылка в новой задаче