Skip to contentSkip to conversation

Comment fixes

PM Pavel Machek 1 participant 1 message Aug 6, 2003 ACPI

lore
Share & tools
lore
#0 lore raw

Hi!

This fixes typos/no-longer-right comments. (S4 no longer works as described in the comment; AFAIK it never worked like that). Please apply,

Pavel

drivers/acpi/sleep/main.c +0 -4
Index: linux/drivers/acpi/sleep/main.c
===================================================================
@@ -69,10 +81,6 @@
  * First, we call to the device driver layer to save device state.
  * Once we have that, we save whatevery processor and kernel state we
  * need to memory.
- * If we're entering S4, we then write the memory image to disk.
- *
- * Only then is it safe for us to power down devices, since we may need
- * the disks and upstream buses to write to.
  */
 acpi_status
 acpi_system_save_state(
include/linux/reboot.h +1 -1
Index: linux/include/linux/reboot.h
===================================================================
@@ -21,7 +21,7 @@
  * CAD_OFF     Ctrl-Alt-Del sequence sends SIGINT to init task.
  * POWER_OFF   Stop OS and remove all power from system, if possible.
  * RESTART2    Restart system using given command string.
- * SW_SUSPEND  Suspend system using Software Suspend if compiled in
+ * SW_SUSPEND  Suspend system using software suspend if compiled in.
  */
 
 #define	LINUX_REBOOT_CMD_RESTART	0x01234567
Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]