Skip to content

Commit 5ceb1a0

Browse files
Matt FlemingThomas Gleixner
authored andcommitted
x86: HPET: enter hpet_interrupt_handler with interrupts disabled
Some functions that may be called from this handler require that interrupts are disabled. Also, combining IRQF_DISABLED and IRQF_SHARED does not reliably disable interrupts in a handler, so remove IRQF_SHARED from the irq flags (this irq is not shared anyway). Signed-off-by: Matt Fleming <[email protected]> Cc: [email protected] Cc: [email protected] Cc: "Will Newton" <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
1 parent 89d77a1 commit 5ceb1a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/hpet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ static int hpet_setup_irq(struct hpet_dev *dev)
445445
{
446446

447447
if (request_irq(dev->irq, hpet_interrupt_handler,
448-
IRQF_SHARED|IRQF_NOBALANCING, dev->name, dev))
448+
IRQF_DISABLED|IRQF_NOBALANCING, dev->name, dev))
449449
return -1;
450450

451451
disable_irq(dev->irq);

0 commit comments

Comments
 (0)