Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/acpi make it compile with ACPI_DEBUG



details:   https://anonhg.NetBSD.org/src/rev/4d4384860a05
branches:  trunk
changeset: 532968:4d4384860a05
user:      drochner <drochner%NetBSD.org@localhost>
date:      Tue Jun 18 10:32:02 2002 +0000

description:
make it compile with ACPI_DEBUG
(removing the half-done debugging support, sorry)

diffstat:

 sys/arch/i386/acpi/acpi_wakeup.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 5a5f220e6c72 -r 4d4384860a05 sys/arch/i386/acpi/acpi_wakeup.c
--- a/sys/arch/i386/acpi/acpi_wakeup.c  Tue Jun 18 10:26:15 2002 +0000
+++ b/sys/arch/i386/acpi/acpi_wakeup.c  Tue Jun 18 10:32:02 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_wakeup.c,v 1.2 2002/06/18 07:53:05 tshiozak Exp $ */
+/*     $NetBSD: acpi_wakeup.c,v 1.3 2002/06/18 10:32:02 drochner Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.2 2002/06/18 07:53:05 tshiozak Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.3 2002/06/18 10:32:02 drochner Exp $");
 
 /*-
  * Copyright (c) 2001 Takanori Watanabe <takawata%jp.freebsd.org@localhost>
@@ -121,8 +121,6 @@
        UINT32                  ret;
        ACPI_STATUS             status;
 
-       ACPI_FUNCTION_TRACE("AcpiEnterSleepStateS4Bios");
-
        /* run the _PTS and _GTS methods */
 
        ACPI_MEMSET(&ArgList, 0, sizeof(ArgList));
@@ -167,7 +165,7 @@
 
        write_eflags(ef);
 
-       return_ACPI_STATUS (AE_OK);
+       return (AE_OK);
 }
 
 static u_int16_t       r_ldt;



Home | Main Index | Thread Index | Old Index