From cd9b08449c03be925cad982308205be40051be13 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Fri, 15 Jul 2016 13:25:09 -0700 Subject: [PATCH] kernel - Remove unnecessary cpu_enable_intr() * Remove an unnecessary cpu_enable_intr() being called just prior to a write_rflags(). --- sys/dev/acpica/acpi_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c index 5390a2d44d..ff25509702 100644 --- a/sys/dev/acpica/acpi_timer.c +++ b/sys/dev/acpica/acpi_timer.c @@ -340,7 +340,7 @@ acpi_timer_test(void) min = delta; last = this; } - cpu_enable_intr(); + /* cpu_enable_intr(); restored to original by write_rflags() */ #if defined(__x86_64__) write_rflags(s); #else -- 2.11.4.GIT