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 <mjf@gentoo.org>
Cc: mingo@elte.hu
Cc: venkatesh.pallipadi@intel.com
Cc: "Will Newton" <will.newton@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Matt Fleming and committed by
Thomas Gleixner
5ceb1a04 89d77a1e

+1 -1
+1 -1
arch/x86/kernel/hpet.c
··· 445 { 446 447 if (request_irq(dev->irq, hpet_interrupt_handler, 448 - IRQF_SHARED|IRQF_NOBALANCING, dev->name, dev)) 449 return -1; 450 451 disable_irq(dev->irq);
··· 445 { 446 447 if (request_irq(dev->irq, hpet_interrupt_handler, 448 + IRQF_DISABLED|IRQF_NOBALANCING, dev->name, dev)) 449 return -1; 450 451 disable_irq(dev->irq);