* seq_file damage still not fixed in 2.5.63
@ 2003-02-24 22:50 Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2003-02-24 22:50 UTC (permalink / raw)
To: ACPI mailing list, kernel list, Patrick Mochel,
andy-SXfmanCb7nbrBKCeMvbIDA
Hi!
...this patch was dropped on the floor somewhere. Please apply,
Pavel
--- clean/drivers/acpi/processor.c 2003-02-15 18:51:17.000000000 +0100
+++ linux/drivers/acpi/processor.c 2003-02-15 18:52:17.000000000 +0100
@@ -1356,7 +1356,8 @@
loff_t *data)
{
int result = 0;
- struct acpi_processor *pr = (struct acpi_processor *) data;
+ struct seq_file *m = (struct seq_file *)file->private_data;
+ struct acpi_processor *pr = (struct acpi_processor *)m->private;
char state_string[12] = {'\0'};
ACPI_FUNCTION_TRACE("acpi_processor_write_throttling");
@@ -1418,7 +1419,8 @@
loff_t *data)
{
int result = 0;
- struct acpi_processor *pr = (struct acpi_processor *) data;
+ struct seq_file *m = (struct seq_file *)file->private_data;
+ struct acpi_processor *pr = (struct acpi_processor *)m->private;
char limit_string[25] = {'\0'};
int px = 0;
int tx = 0;
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-24 22:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-24 22:50 seq_file damage still not fixed in 2.5.63 Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox