2002-11-30 21:46:11

by Pavel Machek

[permalink] [raw]
Subject: 2.5.50: echo > /proc/acpi/sleep b0rken

Hi!

I believe this is needed, otherwise echo > /proc/acpi/sleep does not
work. I'm not 200% sure this is correct fix, through, and it
definitely needs to be fixed at *way* more places.
Pavel

--- clean/drivers/acpi/sleep.c 2002-11-29 21:16:34.000000000 +0100
+++ linux-swsusp/drivers/acpi/sleep.c 2002-11-30 00:27:14.000000000 +0100
@@ -674,7 +675,7 @@
ACPI_SYSTEM_FILE_SLEEP));
else {
entry->proc_fops = &acpi_system_sleep_fops;
- entry->write_proc = acpi_system_write_sleep;
+ entry->proc_fops->write = acpi_system_write_sleep;
}

/* 'alarm' [R/W] */

--
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?


Subject: Re: 2.5.50: echo > /proc/acpi/sleep b0rken

> I believe this is needed, otherwise echo > /proc/acpi/sleep does not
> work. I'm not 200% sure this is correct fix, through, and it
> definitely needs to be fixed at *way* more places.
my mistake. i'll fix it and submit asap

--
aris