Module Name: src Committed By: jmcneill Date: Mon Aug 16 10:23:25 UTC 2010
Modified Files: src/sys/dev/acpi: acpi_cpu_pstate.c Log Message: make it compile again To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/acpi/acpi_cpu_pstate.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/acpi/acpi_cpu_pstate.c diff -u src/sys/dev/acpi/acpi_cpu_pstate.c:1.22 src/sys/dev/acpi/acpi_cpu_pstate.c:1.23 --- src/sys/dev/acpi/acpi_cpu_pstate.c:1.22 Mon Aug 16 10:07:09 2010 +++ src/sys/dev/acpi/acpi_cpu_pstate.c Mon Aug 16 10:23:25 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_cpu_pstate.c,v 1.22 2010/08/16 10:07:09 jruoho Exp $ */ +/* $NetBSD: acpi_cpu_pstate.c,v 1.23 2010/08/16 10:23:25 jmcneill Exp $ */ /*- * Copyright (c) 2010 Jukka Ruohonen <jruoho...@iki.fi> @@ -27,7 +27,7 @@ * SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_pstate.c,v 1.22 2010/08/16 10:07:09 jruoho Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_pstate.c,v 1.23 2010/08/16 10:23:25 jmcneill Exp $"); #include <sys/param.h> #include <sys/evcnt.h> @@ -654,7 +654,7 @@ * check during the P-state (FFH) transition. */ if (sc->sc_pstate_control.reg_addr == 0) { - rv = AE_BAD_RESOURCE_VALUE; + rv = AE_AML_BAD_RESOURCE_LENGTH; goto out; }