Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi make it compile again
details: https://anonhg.NetBSD.org/src/rev/1167339c8b92
branches: trunk
changeset: 757145:1167339c8b92
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Aug 16 10:23:25 2010 +0000
description:
make it compile again
diffstat:
sys/dev/acpi/acpi_cpu_pstate.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1d0c1871f5e2 -r 1167339c8b92 sys/dev/acpi/acpi_cpu_pstate.c
--- a/sys/dev/acpi/acpi_cpu_pstate.c Mon Aug 16 10:07:09 2010 +0000
+++ b/sys/dev/acpi/acpi_cpu_pstate.c Mon Aug 16 10:23:25 2010 +0000
@@ -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 <jruohonen%iki.fi@localhost>
@@ -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;
}
Home |
Main Index |
Thread Index |
Old Index