* 2.5.50: echo > /proc/acpi/sleep b0rken
@ 2002-11-30 19:49 Pavel Machek
[not found] ` <20021130194934.GA141-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2002-11-30 19:49 UTC (permalink / raw)
To: kernel list, ACPI mailing list, Andrew Grover
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.5.50: echo > /proc/acpi/sleep b0rken
[not found] ` <20021130194934.GA141-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2002-11-30 22:19 ` aris
0 siblings, 0 replies; 2+ messages in thread
From: aris @ 2002-11-30 22:19 UTC (permalink / raw)
To: Pavel Machek; +Cc: kernel list, ACPI mailing list, Andrew Grover
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-30 22:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-30 19:49 2.5.50: echo > /proc/acpi/sleep b0rken Pavel Machek
[not found] ` <20021130194934.GA141-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2002-11-30 22:19 ` aris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox