Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi/acpica Remove the recently added warning about ...
details: https://anonhg.NetBSD.org/src/rev/a9e78ba13505
branches: trunk
changeset: 755423:a9e78ba13505
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sat Jun 05 16:47:49 2010 +0000
description:
Remove the recently added warning about long Sleep() requests.
This is now in ACPICA (20100528):
Added support to limit the maximum time for the ASL Sleep()
operator. To prevent accidental deep sleeps, limit the maximum time
that Sleep() will actually sleep. Configurable, the default maximum
is two seconds. ACPICA bugzilla 854.
diffstat:
sys/dev/acpi/acpica/OsdSchedule.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (31 lines):
diff -r a740f2ed7167 -r a9e78ba13505 sys/dev/acpi/acpica/OsdSchedule.c
--- a/sys/dev/acpi/acpica/OsdSchedule.c Sat Jun 05 16:37:13 2010 +0000
+++ b/sys/dev/acpi/acpica/OsdSchedule.c Sat Jun 05 16:47:49 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: OsdSchedule.c,v 1.13 2010/05/12 17:03:11 jruoho Exp $ */
+/* $NetBSD: OsdSchedule.c,v 1.14 2010/06/05 16:47:49 jruoho Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: OsdSchedule.c,v 1.13 2010/05/12 17:03:11 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: OsdSchedule.c,v 1.14 2010/06/05 16:47:49 jruoho Exp $");
#include <sys/param.h>
#include <sys/malloc.h>
@@ -140,12 +140,6 @@
void
AcpiOsSleep(ACPI_INTEGER Milliseconds)
{
- static bool once = false;
-
- if (Milliseconds > 2000 && once != true) {
- aprint_error("acpi0: WARNING: long Sleep()\n");
- once = true;
- }
if (cold || doing_shutdown || acpi_suspended)
DELAY(Milliseconds * 1000);
Home |
Main Index |
Thread Index |
Old Index