From 7d6c19d3c3ee4dd042ed8f5348cab7c4152652fa Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Fri, 13 Nov 2009 18:27:35 -0800 Subject: [PATCH] ACPI - Fix type-o which caused clock interrupts to stop working properly in C3. Submitted-by: Johannes Hofmann --- sys/dev/acpica5/acpi_cpu_cstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/acpica5/acpi_cpu_cstate.c b/sys/dev/acpica5/acpi_cpu_cstate.c index 21b9b92384..2113f22149 100644 --- a/sys/dev/acpica5/acpi_cpu_cstate.c +++ b/sys/dev/acpica5/acpi_cpu_cstate.c @@ -641,7 +641,7 @@ acpi_cpu_cx_cst(struct acpi_cpu_softc *sc) /* Allocate the control register for C2 or C3. */ cx_ptr->rid = sc->cpu_parent->cpux_next_rid; - acpi_PkgGas(sc->cpu_dev, pkg, 0, &cx_ptr->type, &cx_ptr->rid, &cx_ptr->p_lvlx, + acpi_PkgGas(sc->cpu_dev, pkg, 0, &cx_ptr->res_type, &cx_ptr->rid, &cx_ptr->p_lvlx, RF_SHAREABLE); if (cx_ptr->p_lvlx) { sc->cpu_parent->cpux_next_rid++; -- 2.41.0