summaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86/kernel/hpet.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/x86/kernel/hpet.c')
-rw-r--r--kernel/arch/x86/kernel/hpet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/arch/x86/kernel/hpet.c b/kernel/arch/x86/kernel/hpet.c
index b8e6ff5cd..acc9b8f19 100644
--- a/kernel/arch/x86/kernel/hpet.c
+++ b/kernel/arch/x86/kernel/hpet.c
@@ -351,6 +351,7 @@ static int hpet_resume(struct clock_event_device *evt, int timer)
} else {
struct hpet_dev *hdev = EVT_TO_HPET_DEV(evt);
+ irq_domain_deactivate_irq(irq_get_irq_data(hdev->irq));
irq_domain_activate_irq(irq_get_irq_data(hdev->irq));
disable_irq(hdev->irq);
irq_set_affinity(hdev->irq, cpumask_of(hdev->cpu));