summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2014-12-01 04:22:34 +0000
committermlarkin <mlarkin@openbsd.org>2014-12-01 04:22:34 +0000
commit7615ca57bb6db8324854749d88eb7a44da05c953 (patch)
treedf0df53961aa7a28da4249bd9ec97d7b70b09dce
parentFix %c for floating values that become 0 when coerced to int. (diff)
downloadwireguard-openbsd-7615ca57bb6db8324854749d88eb7a44da05c953.tar.xz
wireguard-openbsd-7615ca57bb6db8324854749d88eb7a44da05c953.zip
Remove an old and superfluous comment, and fix some KNF style issues in
some other comments.
-rw-r--r--sys/arch/amd64/amd64/acpi_machdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/amd64/amd64/acpi_machdep.c b/sys/arch/amd64/amd64/acpi_machdep.c
index 7ecc744bbf8..3b04ebc110b 100644
--- a/sys/arch/amd64/amd64/acpi_machdep.c
+++ b/sys/arch/amd64/amd64/acpi_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_machdep.c,v 1.64 2014/11/16 12:30:56 deraadt Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.65 2014/12/01 04:22:34 mlarkin Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -276,8 +276,6 @@ acpi_resume_clocks(struct acpi_softc *sc)
int
acpi_sleep_cpu(struct acpi_softc *sc, int state)
{
- /* amd64 does not do lazy pmap_activate */
-
/*
* ACPI defines two wakeup vectors. One is used for ACPI 1.0
* implementations - it's in the FACS table as wakeup_vector and
@@ -292,7 +290,8 @@ acpi_sleep_cpu(struct acpi_softc *sc, int state)
if (sc->sc_facs->length > 32 && sc->sc_facs->version >= 1)
sc->sc_facs->x_wakeup_vector = 0;
- /* Copy the current cpu registers into a safe place for resume.
+ /*
+ * Copy the current cpu registers into a safe place for resume.
* acpi_savecpu actually returns twice - once in the suspend
* path and once in the resume path (see setjmp(3)).
*/
@@ -312,7 +311,8 @@ acpi_sleep_cpu(struct acpi_softc *sc, int state)
}
#endif
- /* XXX
+ /*
+ * XXX
* Flag to disk drivers that they should "power down" the disk
* when we get to DVACT_POWERDOWN.
*/