diff options
author | iwasaki <iwasaki@FreeBSD.org> | 2001-11-18 18:48:31 +0000 |
---|---|---|
committer | iwasaki <iwasaki@FreeBSD.org> | 2001-11-18 18:48:31 +0000 |
commit | f4ee56456fec1c5aeb68429b91102213a14f3049 (patch) | |
tree | de693607e65d73f113f6bae3c6e6513bb5ce9463 /sys/i386/acpica/acpi_wakeup.c | |
parent | 47cd77ddbdb2cc3dc758299fce4bc95699d63378 (diff) | |
download | FreeBSD-src-f4ee56456fec1c5aeb68429b91102213a14f3049.zip FreeBSD-src-f4ee56456fec1c5aeb68429b91102213a14f3049.tar.gz |
Yet another verbose printing cleanup. Remove debug_wakeup flag and
check common verbose flag instead.
Diffstat (limited to 'sys/i386/acpica/acpi_wakeup.c')
-rw-r--r-- | sys/i386/acpica/acpi_wakeup.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/i386/acpica/acpi_wakeup.c b/sys/i386/acpica/acpi_wakeup.c index 3c9e0cd..d775236 100644 --- a/sys/i386/acpica/acpi_wakeup.c +++ b/sys/i386/acpica/acpi_wakeup.c @@ -70,9 +70,6 @@ static u_int32_t r_eax, r_ebx, r_ecx, r_edx, r_ebp, r_esi, r_edi, static u_int16_t r_cs, r_ds, r_es, r_fs, r_gs, r_ss, r_tr; static u_int32_t r_esp = 0; -static int debug_wakeup = 1; -SYSCTL_INT(_debug, OID_AUTO, acpi_wakeup, CTLFLAG_RW, &debug_wakeup, 0, "") - static void acpi_printcpu(void); static void acpi_realmodeinst(void *arg, bus_dma_segment_t *segs, int nsegs, int error); @@ -240,7 +237,7 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state) WAKECODE_FIXUP(previous_gs, u_int16_t, r_gs); WAKECODE_FIXUP(previous_ss, u_int16_t, r_ss); - if (debug_wakeup) { + if (acpi_get_verbose(sc)) { acpi_printcpu(); } @@ -267,7 +264,7 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state) #endif icu_reinit(); - if (debug_wakeup) { + if (acpi_get_verbose(sc)) { acpi_savecpu(); acpi_printcpu(); } |